Gå til innhold

Seedream 5.0 Pro Text to Image

Integrer

Modell-ID bytedance/seedream/v5/pro/text-to-image
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedream/v5/pro/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hard sci-fi cinematic film still, \"AIRLOCK\" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white EVA suit tumbles slowly in zero gravity, impossibly small against the absolute black of deep space. The figure is positioned off-center, slightly diagonal — the slow rotation implied by body posture. A severed umbilical tether trails loose behind the suit, drifting in a long graceful arc. Far in the upper corner, the space station is a tiny receding white geometric speck, maybe 10 pixels of implied detail. Nothing else. Pure black void filling 90% of the frame. The astronaut is the only warm element — the suit'\''s white catching the single hard solar key light, one side blazing white-silver, the shadow side absolute black. No stars. No nebula. Just black. Cold desaturated palette, the suit slightly yellowed-ivory against void. Anamorphic 2.39:1 letterboxed, extreme negative space. 35mm film grain. The scale creates overwhelming existential dread. Hyper-real photographic detail. Shot on ARRI Alexa 65."
  }'

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

Filer som eksempelet: 0,135 $ 135 API-kreditter filene dine måles før kjøring Kjør den på denne siden

Hent API-nøkkel
ByteDance Tekst til bilde #realism#typography#2k

ByteDance sin flaggskipmodell for bilder av redaksjonell kvalitet og plakater opptil 2K.

Eksempler

Utdata · ~80 s
Hard sci-fi cinematic film still, "AIRLOCK" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white...

PromptHard sci-fi cinematic film still, "AIRLOCK" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white EVA suit tumbles slowly in zero gravity, impossibly small against the absolute black of deep space. The figure is positioned off-center, slightly diagonal — the slow rotation implied by body posture. A severed umbilical tether trails loose behind the suit, drifting in a long graceful arc. Far in the upper corner, the space station is a tiny receding white geometric speck, maybe 10 pixels of implied detail. Nothing else. Pure black void filling 90% of the frame. The astronaut is the only warm element — the suit's white catching the single hard solar key light, one side blazing white-silver, the shadow side absolute black. No stars. No nebula. Just black. Cold desaturated palette, the suit slightly yellowed-ivory against void. Anamorphic 2.39:1 letterboxed, extreme negative space. 35mm film grain. The scale creates overwhelming existential dread. Hyper-real photographic detail. Shot on ARRI Alexa 65.

0,135 $ · 135 API-kreditter

Prompt fra @karim_yourself på X

Bygg en forespørsel

Kontrollene genereres fra modellskjemaet. Koden og prisen oppdateres når du endrer dem.

•obligatorisk

Tekstinstruksjoner for generering av bildet.

image_size standard auto_2K

Dimensjoner for utdata-bildet, med krav om et totalt pikselantall innenfor 1024x1024–2048x2048 og et størrelsesforhold innenfor 1/16–16.

num_images standard 1

Antall uavhengige modellgenereringer som bruker prompten.

Avansert output_format · enhance_prompt_mode
output_format standard jpeg

Filformat for utdata-bildet.

enhance_prompt_mode standard standard

Innstilling for promptoptimalisering: velg `standard` for å prioritere bildekvalitet eller `fast` for kortere genereringstid.

POST /run/bytedance/seedream/v5/pro/text-to-image?wait=20 pris → 0,135 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://vit.doitong.com/api/v1/run/bytedance/seedream/v5/pro/text-to-image?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Hard sci-fi cinematic film still, \"AIRLOCK\" — SHOT 3: Wide vertiginous establishing shot. A lone astronaut in a white EVA suit tumbles slowly in zero gravity, impossibly small against the absolute black of deep space. The figure is positioned off-center, slightly diagonal — the slow rotation implied by body posture. A severed umbilical tether trails loose behind the suit, drifting in a long graceful arc. Far in the upper corner, the space station is a tiny receding white geometric speck, maybe 10 pixels of implied detail. Nothing else. Pure black void filling 90% of the frame. The astronaut is the only warm element — the suit'\''s white catching the single hard solar key light, one side blazing white-silver, the shadow side absolute black. No stars. No nebula. Just black. Cold desaturated palette, the suit slightly yellowed-ivory against void. Anamorphic 2.39:1 letterboxed, extreme negative space. 35mm film grain. The scale creates overwhelming existential dread. Hyper-real photographic detail. Shot on ARRI Alexa 65."
  }'

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

Kjør denne forespørselen

Nøkkelen din blir i denne nettleseren: Den sendes bare til Doitong API og lagres bare i localStorage hvis du krysser av for Husk. Hent en API-nøkkel

Om Seedream 5.0 Pro Text to Image

Seedream 5.0 Pro produserer innholdsrike, detaljerte bilder med nøyaktig typografi og sterk stilkontroll, fra moteredaksjonelt innhold til emballasje og illustrerte plakater. Den gjengir mellom 1 og 4 megapiksler (standardinnstillingen auto_2K velger en 2K-ramme for prompten) og kan returnere opptil seks bilder per forespørsel. En innebygd promptforbedrer kjører i standard eller rask modus.

Parametere

Send enten det kanoniske navnet eller det opprinnelige navnet, ikke begge. Kanoniske navn

NavnType StandardTillatt Beskrivelse
promptobligatorisk
Typestring
Tekstinstruksjoner for generering av bildet.
image_sizevalgfritt
Typeobject
Standardauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_1Kauto_2K
Dimensjoner for utdata-bildet, med krav om et totalt pikselantall innenfor 1024x1024–2048x2048 og et størrelsesforhold innenfor 1/16–16.
num_imagesvalgfritt num_outputs
Typeinteger
Standard1
1 – 6
Antall uavhengige modellgenereringer som bruker prompten.
output_formatvalgfritt
Typeenum
Standardjpeg
jpegpng
Filformat for utdata-bildet.
enhance_prompt_modevalgfritt
Typeenum
Standardstandard
standardfast
Innstilling for promptoptimalisering: velg `standard` for å prioritere bildekvalitet eller `fast` for kortere genereringstid.
obligatorisk Kanonisk navn, også godkjent

Utdata

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/pro/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": 135,
    "usd": "0.135",
    "charged": 135,
    "refunded": 0
  },
  "input": {
    "prompt": "Fashion editorial of a model in a coat patterned with West African textile motifs, studio backdrop, soft key light",
    "image_size": "auto_2K"
  },
  "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
      }
    ]
  },
  "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://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://vit.doitong.com/api/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Filene dine, ditt valgHver outputs[].url er en kopi på lagringen vår: lagret for alltid (betalt per GB-måned) eller 7 dager gratis, styrt av kontoinnstillingen din eller ?storage=.
Samme struktur for hver modelltype, url, content_type, width, height og duration, for bilder, video og lyd. output er modellens eget resultatobjekt.
Utdatafelt
images
array of object {url, content_type, file_name, file_size, width, height}Bilder produsert av genereringen.

Flere modeller: Tekst til bilde

For AI-agenter: Denne siden som Markdown finnes på https://doitong.com/no/developers/models/bytedance/seedream/v5/pro/text-to-image.md. Alle modeller og veiledninger: https://doitong.com/developers/llms.txt