Bỏ qua đến nội dung

Seedream 5.0 Pro Text to Image

Tích hợp

Id mô hình 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://api.doitong.ru/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://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Các tệp như ví dụ: 0,135 $ 135 tín dụng API · ≈ 14,49 ₽ tệp của bạn được đo trước khi chạy Chạy trên trang này

Lấy khóa API
ByteDance Văn bản sang hình ảnh #realism#typography#2k

Mô hình ảnh chủ lực của ByteDance cho ảnh và áp phích chất lượng biên tập, tối đa 2K.

Ví dụ

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

Lời nhắcHard 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 tín dụng API

Lời nhắc từ @karim_yourself trên X

Tạo một yêu cầu

Các điều khiển được tạo từ lược đồ mô hình. Mã và giá sẽ cập nhật khi bạn thay đổi chúng.

•bắt buộc

Hướng dẫn văn bản để tạo hình ảnh.

image_size mặc định auto_2K

Kích thước hình ảnh đầu ra, yêu cầu tổng số pixel trong khoảng 1024x1024–2048x2048 và tỷ lệ khung hình trong khoảng 1/16–16.

num_images mặc định 1

Số lần chạy tạo sinh độc lập của mô hình bằng lời nhắc.

Nâng cao output_format · enhance_prompt_mode
output_format mặc định jpeg

Định dạng tệp của hình ảnh đầu ra.

enhance_prompt_mode mặc định standard

Cài đặt tối ưu hóa lời nhắc: chọn `standard` để ưu tiên chất lượng hình ảnh hoặc `fast` để rút ngắn thời gian tạo.

POST /run/bytedance/seedream/v5/pro/text-to-image?wait=20 báo giá → 0,135 $
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/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://api.doitong.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Chạy yêu cầu này

Key của bạn vẫn nằm trong trình duyệt này: key chỉ được gửi đến Doitong API và chỉ được lưu trong localStorage nếu bạn chọn Ghi nhớ. Nhận khóa API

Được tạo trên Doitong

Các tác phẩm công khai được cộng đồng Doitong tạo bằng Seedream 5.0 Pro. Tái sử dụng một lời nhắc chỉ với một lần nhấp.

Tác phẩm công khai được hiển thị: 16
Art style: Hyperrealism. Девушка лежит на шезлонге у бассейна, держа в руке бокал с ярким коктейл...

Art style: Hyperrealism. Девушка лежит на шезлонге у бассейна, держа в руке бокал с ярким коктейлем. Напиток украшен долькой апельсина и мятой. Капли конденсата на стекле. Стиль: гиперреализм, фокус на деталях. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the...

Art style: 3D Pixar. Крупный план мордочки Натсика, лежащего на подушке из пуха. Один яркий золот...

Art style: 3D Pixar. Крупный план мордочки Натсика, лежащего на подушке из пуха. Один яркий золотистый луч света пробивается сквозь щель в потолке и падает прямо на его закрытые веки. Мех вокруг носа слегка шевелится от дыхания. Фон представляет собой размытые детали уютной норы. Освещение...

Art style: Vibrant 3D animation, K-pop aesthetic, cinematic lighting. Mia is being comforted by h...

Art style: Vibrant 3D animation, K-pop aesthetic, cinematic lighting. Mia is being comforted by her parents, an older version of Leo and a woman who looks like an older Mia. They are in their humble cottage. Leo is wearing tattered clothes. They look concerned and loving. The fireplace provides a...

Art style: Кинематографичный, реалистичная фотография, шпи.... Роскошная галерея современного иск...

Art style: Кинематографичный, реалистичная фотография, шпи.... Роскошная галерея современного искусства на верхнем этаже небоскреба. Хук Кратовец в безупречном смокинге стоит перед абстрактной голографической скульптурой, держит бокал с коктейлем. Мягкое неоновое освещение, панорамные окна....

Art style: 3D Pixar. Весенний сад на заднем дворе загородного дома, где видны последние островки ...

Art style: 3D Pixar. Весенний сад на заднем дворе загородного дома, где видны последние островки тающего снега на сочной зеленой траве. В центре внимания — зеленый пластиковый люк септика, вкопанный в землю. Хозяин в рабочей одежде стоит на коленях возле к люка септика Камера расположена под...

Art style: 3D Animation, Cinematic Comedy. Крупный план экрана телевизора. На экране ИДЕАЛЬНО ЧЕТ...

Art style: 3D Animation, Cinematic Comedy. Крупный план экрана телевизора. На экране ИДЕАЛЬНО ЧЕТКО и крупно горит яркий голографический баннер: 2ОО.ООО P. + 2OO ФC промо: STARS. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative rendering directive — it...

Art style: 3D анимация, комедийный мультфильм. Крупный план робота-пылесоса, который светится агр...

Art style: 3D анимация, комедийный мультфильм. Крупный план робота-пылесоса, который светится агрессивным красным цветом. На его круглом экране ИДЕАЛЬНО ЧЕТКО горит надпись: 2ОО.ООО P. + 2OO ФC промо: STARS. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ FINAL STYLE ENFORCEMENT (this is the authoritative...

Art style: Реалистичная кинематография, приглушенные цвета.... Гриша опускает телефон. В комнате ...

Art style: Реалистичная кинематография, приглушенные цвета.... Гриша опускает телефон. В комнате повисла гнетущая тишина. Он подходит к Вике и Яне и крепко обнимает их. Они сидят втроем на чемодане посреди грязной, чужой квартиры. За окном уже совсем стемнело, и только одна тусклая лампочка...

Giới thiệu về Seedream 5.0 Pro Text to Image

Seedream 5.0 Pro tạo ra hình ảnh phong phú, chi tiết với kiểu chữ chính xác và khả năng kiểm soát phong cách mạnh mẽ, từ biên tập thời trang đến bao bì và áp phích minh họa. Mô hình kết xuất từ 1 đến 4 megapixel (auto_2K mặc định chọn khung hình 2K cho lời nhắc) và có thể trả về tối đa sáu hình ảnh mỗi yêu cầu. Trình tăng cường lời nhắc tích hợp chạy ở chế độ standard hoặc fast.

Tham số

Gửi tên chuẩn hoặc tên gốc, không gửi cả hai. Tên chuẩn

TênKiểu Mặc địnhĐược phép Mô tả
promptbắt buộc
Kiểustring
Hướng dẫn văn bản để tạo hình ảnh.
image_sizetùy chọn
Kiểuobject
Mặc địnhauto_2K
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_1Kauto_2K
Kích thước hình ảnh đầu ra, yêu cầu tổng số pixel trong khoảng 1024x1024–2048x2048 và tỷ lệ khung hình trong khoảng 1/16–16.
num_imagestùy chọn num_outputs
Kiểuinteger
Mặc định1
1 – 6
Số lần chạy tạo sinh độc lập của mô hình bằng lời nhắc.
output_formattùy chọn
Kiểuenum
Mặc địnhjpeg
jpegpng
Định dạng tệp của hình ảnh đầu ra.
enhance_prompt_modetùy chọn
Kiểuenum
Mặc địnhstandard
standardfast
Cài đặt tối ưu hóa lời nhắc: chọn `standard` để ưu tiên chất lượng hình ảnh hoặc `fast` để rút ngắn thời gian tạo.
bắt buộc Tên chuẩn, cũng được chấp nhận

Đầu ra

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://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tệp của bạn, lựa chọn của bạnMỗi outputs[].url là một bản sao trên bộ lưu trữ của chúng tôi: được giữ vĩnh viễn (tính phí theo GB-tháng) hoặc 7 ngày miễn phí, theo cài đặt tài khoản hoặc ?storage=.
Cùng một cấu trúc trên mọi mô hìnhtype, url, content_type, width, height và duration cho hình ảnh, video và âm thanh. output là đối tượng kết quả riêng của mô hình.
Các trường đầu ra
images
array of object {url, content_type, file_name, file_size, width, height}Các hình ảnh được tạo sinh.

Thêm mô hình: Văn bản sang hình ảnh

Dành cho tác nhân AI: trang này ở dạng Markdown tại https://doitong.com/vi/developers/models/bytedance/seedream/v5/pro/text-to-image.md. Tất cả mô hình và hướng dẫn: https://doitong.com/developers/llms.txt