Lompat ke konten

Bytedance Seedream V4.5 Text To Image

Integrasikan

ID model bytedance/seedream/v4.5/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/v4.5/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"

Permintaan ini: $0,04 40 kredit API Jalankan di halaman ini

Dapatkan kunci API
ByteDance Teks ke Gambar Output 4K #stylized#transform

Pembuatan text-to-image pada ukuran 2K hingga 4K dengan output multi-gambar opsional per permintaan

Dibuat di Doitong

Karya publik yang dibuat dengan Bytedance Seedream V4.5 oleh komunitas Doitong. Gunakan kembali prompt dengan satu klik.

Karya publik yang ditampilkan: 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...

Buat permintaan

Kontrol dibuat dari skema model. Kode dan harga diperbarui saat Anda mengubahnya.

•wajib

Instruksi teks untuk membuat gambar.

image_size bawaan {"height":2048,"width...

Ukuran gambar yang dihasilkan harus memenuhi salah satu dari dua kondisi: jumlah piksel total 2560*1440 hingga 4096*4096, atau lebar dan tinggi masing-masing dalam 1920–4096.

num_images bawaan 1

Jumlah proses pembuatan model independen menggunakan prompt.

bawaan 1

Tetapkan batas gambar per pembuatan dengan `max_images`; nilai di atas satu mengaktifkan pembuatan multi-gambar. Dalam `num_images` pembuatan, setiap pembuatan dapat mengembalikan hingga `max_images` gambar, sehingga total output berada dari `num_images` hingga `max_images*num_images`.

Lanjutan seed · enable_safety_checker

Seed acak yang mengatur keacakan selama pembuatan gambar.

POST /run/bytedance/seedream/v4.5/text-to-image?wait=20 estimasi harga → $0,04
# 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/v4.5/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"

Jalankan permintaan ini

Key Anda tetap berada di browser ini: key hanya dikirim ke Doitong API dan disimpan (localStorage) hanya jika Anda mencentang Ingat. Dapatkan kunci API

Tentang Bytedance Seedream V4.5 Text To Image

Varian pembuatan hanya dari teks untuk Seedream 4.5, tanpa memerlukan gambar input. Atur `prompt` dan pilih prasetel `image_size` seperti landscape_16_9, auto_2K, atau auto_4K, atau berikan dimensi khusus. `num_images` dan `max_images` masing-masing mendukung hingga 6, dan `seed` membuat hasil dapat diulang. Respons mencakup seed yang digunakan.

Parameter

Kirim nama kanonis atau nama asli, bukan keduanya. Nama kanonis

NamaTipe BawaanDiizinkan Deskripsi
promptwajib
Tipestring
Instruksi teks untuk membuat gambar.
image_sizeopsional
Tipeobject
Bawaan{"height":2048,"width":2048}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_4K
Ukuran gambar yang dihasilkan harus memenuhi salah satu dari dua kondisi: jumlah piksel total 2560*1440 hingga 4096*4096, atau lebar dan tinggi masing-masing dalam 1920–4096.
num_imagesopsional num_outputs
Tipeinteger
Bawaan1
1 – 6
Jumlah proses pembuatan model independen menggunakan prompt.
max_imagesopsional
Tipeinteger
Bawaan1
1 – 6
Tetapkan batas gambar per pembuatan dengan `max_images`; nilai di atas satu mengaktifkan pembuatan multi-gambar. Dalam `num_images` pembuatan, setiap pembuatan dapat mengembalikan hingga `max_images` gambar, sehingga total output berada dari `num_images` hingga `max_images*num_images`.
seedopsional
Tipeinteger | null
Seed acak yang mengatur keacakan selama pembuatan gambar.
enable_safety_checkeropsional
Tipeboolean
Bawaantrue
Sakelar pemeriksaan keamanan yang saat dinonaktifkan memerlukan otorisasi akun. Tanpa otorisasi tersebut, setiap permintaan diperiksa terlepas dari pengaturannya; true mengaktifkan pemeriksa.
wajib Nama kanonis, juga diterima

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v4.5/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": 40,
    "usd": "0.04",
    "charged": 40,
    "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"
  }
}
File Anda, pilihan AndaSetiap outputs[].url adalah salinan di penyimpanan kami: disimpan selamanya (dikenai biaya per GB-bulan) atau 7 hari gratis, sesuai setelan akun atau ?storage=.
Struktur sama di setiap modeltype, url, content_type, width, height, dan duration, untuk gambar, video, dan audio. output adalah objek hasil milik model.
Field output
images
array of object {url, content_type, file_name, file_size, width, height}Gambar yang dihasilkan oleh model.
seed
integerNilai seed yang digunakan selama pembuatan.

Model lainnya: Teks ke Gambar

Untuk agen AI: halaman ini dalam Markdown tersedia di https://doitong.com/id/developers/models/bytedance/seedream/v4.5/text-to-image.md. Semua model dan panduan: https://doitong.com/developers/llms.txt