Passer au contenu

Bytedance Seedream V4.5 Text To Image

Intégrer

Identifiant du modèle bytedance/seedream/v4.5/text-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedream/v4.5/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Cette requête: 0,04 $ 40 crédits API L’exécuter sur cette page

Obtenir une clé API
ByteDance Texte vers image Sortie 4K #stylized#transform

Génération texte vers image en tailles 2K à 4K, avec sortie multi-images facultative par requête

Créé sur Doitong

Créations publiques réalisées avec Bytedance Seedream V4.5 par la communauté Doitong. Réutilisez un prompt en un clic.

Créations publiques affichées : 16
Создайте 20-секундный анимационный ролик в ярком, мультяшном стиле для Instagram. Сюжет: человек ...

Создайте 20-секундный анимационный ролик в ярком, мультяшном стиле для Instagram. Сюжет: человек с вдохновением собирается начать что-то новое (например, рисовать на холсте). Внезапно появляется его Мозг в виде забавного персонажа, который начинает активно мешать: показывает смешные картинки...

Art style: Cinematic Realistic. A hand gently reaching out to a wooden bookshelf filled with beau...

Art style: Cinematic Realistic. A hand gently reaching out to a wooden bookshelf filled with beautifully bound books. The fingers softly touch the spines. Warm, golden hour lighting. No faces. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering...

Art style: Studio Ghibli animation style, lush forest and waterfall setting, warm sunlight filter...

Art style: Studio Ghibli animation style, lush forest and waterfall setting, warm sunlight filtering through trees, cozy wooden treehouse, high detail, 4K.. Studio Ghibli animation style. Close-up of Elara's hands carefully picking one of the glowing mushrooms and placing it into a small woven...

Art style: Cinematic Realistic. Maya standing in the near foreground; Eleanora standing further b...

Art style: Cinematic Realistic. Maya standing in the near foreground; Eleanora standing further back in the frame. Three feet of terracotta floor between them. Maya is standing on terracotta floor in the near foreground in the midground. Torso in three-quarter turn to screen-right. Head in...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expres...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expressive eyes, soft warm cinematic lighting, richly detailed setting, no text, no captions. Nepal, 1993. The main character is a 3-year-old girl, seen in an ordinary modest village setting. Scene: A cake...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expres...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expressive eyes, soft warm cinematic lighting, richly detailed setting, no text, no captions. Mumbai, India, 1996. The main character is a 8-year-old girl, seen in an ordinary poor city setting. Scene: You...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expres...

A still from a 3D animated feature film, vertical 9:16, stylised appealing characters with expressive eyes, soft warm cinematic lighting, richly detailed setting, no text, no captions. Bamenda, Cameroon, 1973. The main character is a 5-year-old boy, seen in an ordinary poor city setting. Scene:...

A cinematic film still, vertical 9:16, natural light, documentary realism, no text, no captions. ...

A cinematic film still, vertical 9:16, natural light, documentary realism, no text, no captions. Bengaluru, India, 1967. The main character is a 3-year-old boy, seen in an ordinary modest city setting. Scene: A cake with candles. You blow so hard that wax lands on the icing, and everyone claps...

Créer une requête

Les contrôles sont générés à partir du schéma du modèle. Le code et le prix se mettent à jour lorsque vous les modifiez.

•requis

Instructions textuelles pour générer l’image.

image_size par défaut {"height":2048,"width...

La taille de l’image générée doit respecter l’une des deux conditions suivantes : un nombre total de pixels compris entre 2560*1440 et 4096*4096, ou une largeur et une hauteur chacune comprises entre 1920 et 4096.

num_images par défaut 1

Nombre d’exécutions de génération indépendantes du modèle utilisant le prompt.

par défaut 1

Définissez le plafond d’images par génération avec `max_images` ; les valeurs supérieures à une activent la génération multi-image. Sur `num_images` générations, chacune peut renvoyer jusqu’à `max_images` images, pour un nombre total de sorties compris entre `num_images` et `max_images*num_images`.

Avancé seed · enable_safety_checker

Graine aléatoire contrôlant le caractère aléatoire pendant la génération d’images.

POST /run/bytedance/seedream/v4.5/text-to-image?wait=20 devis → 0,04 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/bytedance/seedream/v4.5/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Exécuter cette requête

Votre clé reste dans ce navigateur : elle est envoyée uniquement à la Doitong API et enregistrée dans localStorage uniquement si vous cochez Mémoriser. Obtenir une clé API

À propos de Bytedance Seedream V4.5 Text To Image

Variante de génération texte uniquement de Seedream 4.5, sans image d'entrée requise. Définissez `prompt` et choisissez un préréglage `image_size` tel que landscape_16_9, auto_2K ou auto_4K, ou indiquez des dimensions personnalisées. `num_images` et `max_images` autorisent chacun jusqu'à 6 images, et une `seed` rend les résultats reproductibles. La réponse inclut la graine utilisée.

Paramètres

Envoyez soit le nom canonique, soit le nom natif, mais pas les deux. Noms canoniques

NomType Par défautAutorisé Description
promptrequis
Typestring
Instructions textuelles pour générer l’image.
image_sizefacultatif
Typeobject
Par défaut{"height":2048,"width":2048}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_4K
La taille de l’image générée doit respecter l’une des deux conditions suivantes : un nombre total de pixels compris entre 2560*1440 et 4096*4096, ou une largeur et une hauteur chacune comprises entre 1920 et 4096.
num_imagesfacultatif num_outputs
Typeinteger
Par défaut1
1 – 6
Nombre d’exécutions de génération indépendantes du modèle utilisant le prompt.
max_imagesfacultatif
Typeinteger
Par défaut1
1 – 6
Définissez le plafond d’images par génération avec `max_images` ; les valeurs supérieures à une activent la génération multi-image. Sur `num_images` générations, chacune peut renvoyer jusqu’à `max_images` images, pour un nombre total de sorties compris entre `num_images` et `max_images*num_images`.
seedfacultatif
Typeinteger | null
Graine aléatoire contrôlant le caractère aléatoire pendant la génération d’images.
enable_safety_checkerfacultatif
Typeboolean
Par défauttrue
Commutateur de contrôle de sécurité dont la désactivation nécessite l’autorisation du compte. Sans cette autorisation, chaque requête est contrôlée quel que soit le réglage ; true active le contrôle.
requis Nom canonique, également accepté

Sortie

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v4.5/text-to-image",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 40,
    "usd": "0.04",
    "charged": 40,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
        "content_type": "image/jpeg",
        "file_name": "0-output.jpeg",
        "file_size": 1843200,
        "width": 1024,
        "height": 768
      }
    ],
    "seed": 42
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Vos fichiers, votre choixChaque outputs[].url est une copie dans notre stockage : conservée indéfiniment (facturation au Go-mois) ou 7 jours gratuitement, selon le réglage de votre compte ou ?storage=.
Même structure pour chaque modèletype, url, content_type, width, height et duration, pour les images, vidéos et fichiers audio. output est le propre objet de résultat du modèle.
Champs de sortie
images
array of object {url, content_type, file_name, file_size, width, height}Images produites par le modèle.
seed
integerValeur de graine utilisée pendant la génération.

Plus de modèles : Texte vers image

Pour les agents IA : cette page au format Markdown est disponible à https://doitong.com/fr/developers/models/bytedance/seedream/v4.5/text-to-image.md. Tous les modèles et guides : https://doitong.com/developers/llms.txt