Avançar para o conteúdo

Seedream 5.0 Pro Text to Image

Integrar

ID do modelo 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"

Ficheiros como o exemplo: 0,135 $ 135 créditos da API os seus ficheiros são medidos antes da execução Executar nesta página

Obter chave de API
ByteDance Texto para imagem #realism#typography#2k

O principal modelo de imagens da ByteDance para fotografias e cartazes de qualidade editorial até 2K.

Exemplos

Resultado · ~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 créditos da API

Prompt de @karim_yourself no X

Criar um pedido

Os controlos são gerados a partir do esquema do modelo. O código e o preço são atualizados à medida que os altera.

•obrigatório

Instruções de texto para gerar a imagem.

image_size predefinição auto_2K

Dimensões da imagem de saída, exigindo uma contagem total de píxeis entre 1024x1024–2048x2048 e uma proporção entre 1/16–16.

num_images predefinição 1

Número de execuções independentes de geração do modelo usando o prompt.

Avançado output_format · enhance_prompt_mode
output_format predefinição jpeg

Formato do ficheiro da imagem de saída.

enhance_prompt_mode predefinição standard

Definição de otimização do prompt: escolha `standard` para privilegiar a qualidade da imagem ou `fast` para reduzir o tempo de geração.

POST /run/bytedance/seedream/v5/pro/text-to-image?wait=20 cotação → 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"

Executar este pedido

A sua chave permanece neste navegador: é enviada apenas para a Doitong API e guardada em localStorage apenas se selecionar Lembrar. Obter uma chave de API

Sobre Seedream 5.0 Pro Text to Image

O Seedream 5.0 Pro produz imagens ricas e detalhadas, com tipografia precisa e forte controlo de estilo, desde editoriais de moda até embalagens e cartazes ilustrados. Renderiza entre 1 e 4 megapíxeis (a predefinição auto_2K escolhe uma imagem 2K para o prompt) e pode devolver até seis imagens por pedido. Um melhorador de prompts integrado funciona no modo normal ou rápido.

Parâmetros

Envie o nome canónico ou o nome nativo, não ambos. Nomes canónicos

NomeTipo PredefiniçãoPermitido Descrição
promptobrigatório
Tipostring
Instruções de texto para gerar a imagem.
image_sizeopcional
Tipoobject
Predefiniçãoauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_1Kauto_2K
Dimensões da imagem de saída, exigindo uma contagem total de píxeis entre 1024x1024–2048x2048 e uma proporção entre 1/16–16.
num_imagesopcional num_outputs
Tipointeger
Predefinição1
1 – 6
Número de execuções independentes de geração do modelo usando o prompt.
output_formatopcional
Tipoenum
Predefiniçãojpeg
jpegpng
Formato do ficheiro da imagem de saída.
enhance_prompt_modeopcional
Tipoenum
Predefiniçãostandard
standardfast
Definição de otimização do prompt: escolha `standard` para privilegiar a qualidade da imagem ou `fast` para reduzir o tempo de geração.
obrigatório Nome canónico, também aceite

Resultado

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"
  }
}
Os seus ficheiros, a sua escolhaCada outputs[].url é uma cópia no nosso armazenamento: guardada para sempre (paga por GB-mês) ou durante 7 dias gratuitamente, conforme a definição da sua conta ou ?storage=.
A mesma estrutura em todos os modelostype, url, content_type, width, height e duration, tanto para imagens como para vídeo e áudio. output é o próprio objeto de resultado do modelo.
Campos do resultado
images
array of object {url, content_type, file_name, file_size, width, height}Imagens produzidas pela geração.

Mais modelos: Texto para imagem

Para agentes de IA: esta página em Markdown está disponível em https://doitong.com/pt-PT/developers/models/bytedance/seedream/v5/pro/text-to-image.md. Todos os modelos e guias: https://doitong.com/developers/llms.txt