ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Seedream · Lite · Text to Image

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ 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"

ਇਹ ਬੇਨਤੀ: $0.035 35 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
ByteDance ਟੈਕਸਟ ਤੋਂ ਚਿੱਤਰ 4K ਆਉਟਪੁੱਟਤੇਜ਼ #text-to-image#bytedance#seedream-5.0-lite

2K ਤੋਂ 4K ਆਕਾਰ ਪੱਧਰਾਂ ਅਤੇ ਮਲਟੀ-ਇਮੇਜ ਜਨਰੇਸ਼ਨ ਨਾਲ Seedream 5 Lite ਟੈਕਸਟ-ਤੋਂ-ਚਿੱਤਰ

Doitong ’ਤੇ ਬਣਾਇਆ ਗਿਆ

Doitong ਭਾਈਚਾਰੇ ਵੱਲੋਂ Seedream 5.0 ਨਾਲ ਬਣਾਏ ਜਨਤਕ ਕੰਮ। ਇੱਕ ਕਲਿੱਕ ਨਾਲ ਪ੍ਰੌਮਪਟ ਦੁਬਾਰਾ ਵਰਤੋ।

ਦਿਖਾਏ ਗਏ ਜਨਤਕ ਕੰਮ: 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...

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ

ਚਿੱਤਰ ਸਿਰਜਣ ਲਈ ਲਿਖਤੀ ਹਦਾਇਤਾਂ।

ਡਿਫ਼ਾਲਟ auto_2K

ਸਿਰਜੇ ਚਿੱਤਰ ਦਾ ਆਕਾਰ, ਜਿਸ ਨੂੰ ਲੋੜ ਪੈਣ 'ਤੇ ਕੁੱਲ ਪਿਕਸਲ ਗਿਣਤੀ ਘੱਟੋ-ਘੱਟ 2560×1440 ਅਤੇ ਵੱਧ ਤੋਂ ਵੱਧ 4096×4096 ਰੱਖਣ ਲਈ ਆਪਣੇ ਆਪ ਸਕੇਲ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।

num_images ਡਿਫ਼ਾਲਟ 1

ਪ੍ਰੌਂਪਟ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਸੁਤੰਤਰ ਮਾਡਲ ਸਿਰਜਣਾ ਰਨਾਂ ਦੀ ਗਿਣਤੀ।

ਡਿਫ਼ਾਲਟ 1

`max_images` ਨਾਲ ਹਰ ਸਿਰਜਣਾ ਲਈ ਚਿੱਤਰ ਸੀਮਾ ਸੈਟ ਕਰੋ; ਇੱਕ ਤੋਂ ਵੱਧ ਮੁੱਲ ਬਹੁ-ਚਿੱਤਰ ਸਿਰਜਣਾ ਸਮਰੱਥ ਕਰਦੇ ਹਨ। `num_images` ਸਿਰਜਣਾਵਾਂ ਵਿੱਚੋਂ ਹਰ ਇੱਕ ਵੱਧ ਤੋਂ ਵੱਧ `max_images` ਚਿੱਤਰ ਵਾਪਸ ਕਰ ਸਕਦੀ ਹੈ, ਇਸ ਲਈ ਕੁੱਲ ਆਉਟਪੁੱਟ ਗਿਣਤੀ `num_images` ਤੋਂ `max_images*num_images` ਤੱਕ ਹੋ ਸਕਦੀ ਹੈ।

ਉੱਨਤ enable_safety_checker · return_byteplus_urls
POST /run/bytedance/seedream/v5/lite/text-to-image?wait=20 ਕੋਟ → $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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Seedream · Lite · Text to Image ਬਾਰੇ

ਟੈਕਸਟ ਪ੍ਰੌਂਪਟ ਤੋਂ ਚਿੱਤਰ ਸਿਰਜਦਾ ਹੈ। `image_size` ਵਿੱਚ square_hd ਅਤੇ landscape_16_9 ਜਾਂ auto_2K, auto_3K ਅਤੇ auto_4K ਵਰਗੇ ਪ੍ਰੀਸੈੱਟ ਸਵੀਕਾਰ ਹੁੰਦੇ ਹਨ, ਜਿਨ੍ਹਾਂ ਦੇ ਕੁੱਲ ਪਿਕਸਲ 2560x1440 ਅਤੇ 4096x4096 ਦੇ ਵਿਚਕਾਰ ਹੁੰਦੇ ਹਨ। `num_images` 1 ਤੋਂ 6 ਸਿਰਜਣਾਵਾਂ ਸੈੱਟ ਕਰਦਾ ਹੈ ਅਤੇ `max_images` ਹਰ ਸਿਰਜਣਾ ਨੂੰ ਕਈ ਚਿੱਤਰ ਵਾਪਸ ਕਰਨ ਦਿੰਦਾ ਹੈ। `return_byteplus_urls` ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ 24 ਘੰਟਿਆਂ ਵਿੱਚ ਮਿਆਦ ਪੁੱਗਣ ਵਾਲੇ ਭਰੋਸੇਯੋਗ URL ਵਾਪਸ ਕਰਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਚਿੱਤਰ ਸਿਰਜਣ ਲਈ ਲਿਖਤੀ ਹਦਾਇਤਾਂ।
image_sizeਵਿਕਲਪਿਕ
ਕਿਸਮobject
ਡਿਫ਼ਾਲਟauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_3Kauto_4K
ਸਿਰਜੇ ਚਿੱਤਰ ਦਾ ਆਕਾਰ, ਜਿਸ ਨੂੰ ਲੋੜ ਪੈਣ 'ਤੇ ਕੁੱਲ ਪਿਕਸਲ ਗਿਣਤੀ ਘੱਟੋ-ਘੱਟ 2560×1440 ਅਤੇ ਵੱਧ ਤੋਂ ਵੱਧ 4096×4096 ਰੱਖਣ ਲਈ ਆਪਣੇ ਆਪ ਸਕੇਲ ਕੀਤਾ ਜਾਂਦਾ ਹੈ।
num_imagesਵਿਕਲਪਿਕ num_outputs
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ1
1 – 6
ਪ੍ਰੌਂਪਟ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਸੁਤੰਤਰ ਮਾਡਲ ਸਿਰਜਣਾ ਰਨਾਂ ਦੀ ਗਿਣਤੀ।
max_imagesਵਿਕਲਪਿਕ
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ1
1 – 6
`max_images` ਨਾਲ ਹਰ ਸਿਰਜਣਾ ਲਈ ਚਿੱਤਰ ਸੀਮਾ ਸੈਟ ਕਰੋ; ਇੱਕ ਤੋਂ ਵੱਧ ਮੁੱਲ ਬਹੁ-ਚਿੱਤਰ ਸਿਰਜਣਾ ਸਮਰੱਥ ਕਰਦੇ ਹਨ। `num_images` ਸਿਰਜਣਾਵਾਂ ਵਿੱਚੋਂ ਹਰ ਇੱਕ ਵੱਧ ਤੋਂ ਵੱਧ `max_images` ਚਿੱਤਰ ਵਾਪਸ ਕਰ ਸਕਦੀ ਹੈ, ਇਸ ਲਈ ਕੁੱਲ ਆਉਟਪੁੱਟ ਗਿਣਤੀ `num_images` ਤੋਂ `max_images*num_images` ਤੱਕ ਹੋ ਸਕਦੀ ਹੈ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਸੁਰੱਖਿਆ ਜਾਂਚ ਸਵਿੱਚ, ਜਿਸ ਦੀ ਬੰਦ ਸੈਟਿੰਗ ਲਈ ਖਾਤਾ ਅਧਿਕਾਰ ਲੋੜੀਂਦਾ ਹੈ। ਇਸ ਅਧਿਕਾਰ ਤੋਂ ਬਿਨਾਂ ਸੈਟਿੰਗ ਦੀ ਪਰਵਾਹ ਕੀਤੇ ਬਿਨਾਂ ਹਰ ਬੇਨਤੀ ਦੀ ਜਾਂਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ; true ਜਾਂਚਕਰਤਾ ਨੂੰ ਸਮਰੱਥ ਕਰਦਾ ਹੈ।
return_byteplus_urlsਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟfalse
ਇਸ ਨੂੰ ਸਮਰੱਥ ਕਰਕੇ 24 ਘੰਟਿਆਂ ਦੀ ਵੈਧਤਾ ਮਿਆਦ ਵਾਲੇ seedance-2 ਲਈ ਭਰੋਸੇਯੋਗ URLs ਪ੍ਰਾਪਤ ਕਰੋ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਆਉਟਪੁੱਟ

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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
images
array of object {url, content_type, file_name, file_size, width, height}ਮਾਡਲ ਵੱਲੋਂ ਸਿਰਜੇ ਚਿੱਤਰ।
seed
integerਸਿਰਜਣਾ ਦੌਰਾਨ ਲਾਗੂ ਕੀਤੀ ਗਈ ਸੀਡ।

ਹੋਰ ਮਾਡਲ: ਟੈਕਸਟ ਤੋਂ ਚਿੱਤਰ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/bytedance/seedream/v5/lite/text-to-image.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt