Naar inhoud springen

Seedream · Lite · Text to Image

Integreren

Model-ID bytedance/seedream/v5/lite/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/v5/lite/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"

Deze request: $ 0,035 35 API-tegoed Op deze pagina uitvoeren

API-sleutel ophalen
ByteDance Tekst naar afbeelding 4K-uitvoerSnel #text-to-image#bytedance#seedream-5.0-lite

Seedream 5 Lite text-to-image met formaten van 2K tot 4K en generatie van meerdere afbeeldingen

Gemaakt op Doitong

Openbare werken gemaakt met Seedream 5.0 door de Doitong-community. Gebruik een prompt opnieuw met één klik.

Getoonde openbare werken: 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...

Een aanvraag samenstellen

Besturingselementen worden gegenereerd op basis van het modelschema. De code en de prijs worden bijgewerkt terwijl je ze wijzigt.

•verplicht

Tekstinstructies voor het genereren van de afbeelding.

standaard auto_2K

Gegenereerde afbeeldingsgrootte, automatisch geschaald wanneer nodig om het totale aantal pixels op of boven 2560×1440 en op of onder 4096×4096 te houden.

num_images standaard 1

Aantal onafhankelijke generatieruns van het model met de prompt.

standaard 1

Stel de afbeeldingslimiet per generatie in met `max_images`; waarden boven één schakelen generatie van meerdere afbeeldingen in. Bij `num_images` generaties kan elke generatie maximaal `max_images` afbeeldingen retourneren, wat een totaal aantal uitvoerafbeeldingen van `num_images` tot `max_images*num_images` oplevert.

Geavanceerd enable_safety_checker · return_byteplus_urls
POST /run/bytedance/seedream/v5/lite/text-to-image?wait=20 prijsopgave → $ 0,035
# 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/v5/lite/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"

Deze request uitvoeren

Je sleutel blijft in deze browser: hij wordt alleen naar de Doitong API verzonden en alleen in localStorage opgeslagen als je Onthouden aanvinkt. API-sleutel ophalen

Over Seedream · Lite · Text to Image

Genereert afbeeldingen op basis van een tekstprompt. `image_size` accepteert voorinstellingen zoals square_hd en landscape_16_9 of auto_2K, auto_3K en auto_4K, met in totaal tussen 2560x1440 en 4096x4096 pixels. `num_images` stelt 1 tot 6 generaties in en `max_images` laat elke generatie meerdere afbeeldingen retourneren. `return_byteplus_urls` retourneert optioneel vertrouwde URL's die na 24 uur verlopen.

Parameters

Stuur de canonieke naam of de oorspronkelijke naam, niet beide. Canonieke namen

NaamType StandaardToegestaan Beschrijving
promptverplicht
Typestring
Tekstinstructies voor het genereren van de afbeelding.
image_sizeoptioneel
Typeobject
Standaardauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
Gegenereerde afbeeldingsgrootte, automatisch geschaald wanneer nodig om het totale aantal pixels op of boven 2560×1440 en op of onder 4096×4096 te houden.
num_imagesoptioneel num_outputs
Typeinteger
Standaard1
1 – 6
Aantal onafhankelijke generatieruns van het model met de prompt.
max_imagesoptioneel
Typeinteger
Standaard1
1 – 6
Stel de afbeeldingslimiet per generatie in met `max_images`; waarden boven één schakelen generatie van meerdere afbeeldingen in. Bij `num_images` generaties kan elke generatie maximaal `max_images` afbeeldingen retourneren, wat een totaal aantal uitvoerafbeeldingen van `num_images` tot `max_images*num_images` oplevert.
enable_safety_checkeroptioneel
Typeboolean
Standaardtrue
Schakelaar voor veiligheidscontrole waarvan de uitgeschakelde instelling accountautorisatie vereist. Zonder die autorisatie wordt elke request gecontroleerd, ongeacht de instelling; true schakelt de controle in.
return_byteplus_urlsoptioneel
Typeboolean
Standaardfalse
Schakel dit in om vertrouwde URL's voor seedance-2 te ontvangen met een geldigheidsduur van 24 uur.
verplicht Canonieke naam, ook geaccepteerd

Uitvoer

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/lite/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": 35,
    "usd": "0.035",
    "charged": 35,
    "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"
  }
}
Jouw bestanden, jouw keuzeElke outputs[].url is een kopie in onze opslag: voor altijd bewaard (betaald per GB-maand) of 7 dagen gratis, volgens je accountinstelling of ?storage=.
Dezelfde structuur voor elk modeltype, url, content_type, width, height en duration, voor afbeeldingen, video en audio. output is het eigen resultaatobject van het model.
Velden van de uitvoer
images
array of object {url, content_type, file_name, file_size, width, height}Afbeeldingen die door het model zijn geproduceerd.
seed
integerSeed die tijdens de generatie is toegepast.

Meer modellen: Tekst naar afbeelding

Voor AI-agents: deze pagina als Markdown staat op https://doitong.com/nl/developers/models/bytedance/seedream/v5/lite/text-to-image.md. Alle modellen en handleidingen: https://doitong.com/developers/llms.txt