Мазмұнға өту

Seedream · Lite · Edit

Интеграциялау

Модель идентификаторы bytedance/seedream/v5/lite/edit
# 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/edit?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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 шығысыЖылдам #bytedance#seedream-5.0-lite#edit

10-ға дейінгі кіріс кескіннен Seedream 5 Lite моделінде кескін өңдеу, шығыс өлшемдері 4K деңгейіне дейін

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...

Create a head-and-shoulders Pixar-style 3D avatar of an edgy person based on the reference image ...

Create a head-and-shoulders Pixar-style 3D avatar of an edgy person based on the reference image with a black bob, purple hair streak, and a small nose ring. She has a defiant, playful expression, sticking her tongue out with wide, confident eyes while wearing a classic denim jacket. Isolated on...

Art style: 3D Anthro. Grand wedding hall with chandeliers, red curtains and fruit guests. Mia in ...

Art style: 3D Anthro. Grand wedding hall with chandeliers, red curtains and fruit guests. Mia in an emerald gown stands beside Leo Lime ("90/100"). Nico Peach ("100/100") in a black tuxedo with gold embroidery kneels before veiled Grana, holding her red-gloved hand. Pixar-style 3D CGI, soft...

Art style: 3D Anthro. Golden dressing room with mirrors and a tiara on the vanity. Mia sits at th...

Art style: 3D Anthro. Golden dressing room with mirrors and a tiara on the vanity. Mia sits at the vanity while the maid Aunt Banana does her hair. Mrs. Lime holds out an old, torn, yellowed wedding dress to veiled Grana. Pixar-style 3D CGI, soft cinematic lighting, vertical 9:16....

Art style: 3D Anthro. Luxurious living room with candles. Mr. Pomegranate stands holding two fram...

Art style: 3D Anthro. Luxurious living room with candles. Mr. Pomegranate stands holding two framed portraits: a handsome lime-green man labeled "90/100" and a black silhouette with a question mark. Mrs. Lime beside him. Mia Orange and veiled Grana sit on a beige velvet sofa. Pixar-style 3D CGI,...

Сұрау жасау

Басқару элементтері модель схемасынан жасалады. Оларды өзгерткен сайын код пен баға жаңартылады.

•міндетті

Кескінді өңдеуге арналған мәтіндік нұсқаулар.

•міндетті image_urls
Файлды тастаңыз немесе

Ұзын тізім берілсе, соңғы 10 элементтен өңделетін өңдеу кескіндерінің URL мекенжайлары; ағымдағы кіріс шегі — 10 кескін.

әдепкі auto_2K

Жалпы пиксель санын кемінде 2560×1440 және ең көбі 4096×4096 деңгейінде сақтау үшін қажет болса автоматты масштабталатын генерацияланған кескін өлшемі.

num_images әдепкі 1

Нұсқауды пайдаланатын тәуелсіз модель генерацияларының саны.

әдепкі 1

Әр генерациядағы кескін шегін `max_images` арқылы орнатыңыз; бірден жоғары мәндер көпкескінді генерацияны қосады. `num_images` генерациясында жалпы шығыс саны `num_images` пен `max_images*num_images` аралығында болады.

Қосымша enable_safety_checker
POST /run/bytedance/seedream/v5/lite/edit?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/edit?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",
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  }'

# 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"

Осы сұрауды іске қосу

Кілтіңіз осы браузерде қалады: ол тек Doitong API-ге жіберіледі және Remember параметрін белгілеcеңіз ғана localStorage ішінде сақталады. API кілтін алу

Seedream · Lite · Edit туралы

Кескіндерді мәтіндік промптқа сәйкес өңдейді немесе біріктіреді. `image_urls` 10-ға дейін кіріс қабылдайды; 10-нан асқан кескіндер жойылып, соңғы он кескін қалады. `image_size` алдын ала орнатулармен қатар auto_2K, auto_3K және auto_4K мәндерін ұсынады. `num_images` 1-ден 6-ға дейін генерация орындайды, ал `max_images` әр генерацияда бірнеше кескін қайтаруға мүмкіндік береді.

Параметрлер

Канондық атауды немесе төл атауды жіберіңіз, екеуін қатар жібермеңіз. Канондық атаулар

АтауыТүрі ӘдепкіРұқсат етілген Сипаттама
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` генерациясында жалпы шығыс саны `num_images` пен `max_images*num_images` аралығында болады.
enable_safety_checkerміндетті емес
Түріboolean
Әдепкіtrue
Өшірулі күйі есептік жазбаны авторизациялауды талап ететін қауіпсіздік тексергіші. Мұндай авторизациясыз, параметрге қарамастан, әр сұрау тексеріледі; true тексергішті қосады.
image_urlsміндетті images
Түріurl[] · image
Ұзын тізім берілсе, соңғы 10 элементтен өңделетін өңдеу кескіндерінің URL мекенжайлары; ағымдағы кіріс шегі — 10 кескін.
міндетті Канондық атау, бұл да қабылданады

Файл параметрлері жалпыға қолжетімді https:// URL мекенжайын, 10 MB-қа дейінгі data: URI мекенжайын немесе жүктеп салынған файлдың file_url мәнін қабылдайды. Файлдар

Шығыс

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v5/lite/edit",
  "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",
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ]
  },
  "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-ай үшін ақылы) немесе аккаунт параметрі не ?storage= арқылы 7 күн тегін сақталады.
Әр модельдегі пішім бірдейtype, url, content_type, width, height және duration — кескіндерге, бейнеге және аудиоға ортақ. output — модельдің өз нәтижелер нысаны.
Шығыс өрістері
images
array of object {url, content_type, file_name, file_size, width, height}Модель жасаған кескіндер.
seed
integerГенерация кезінде қолданылатын seed.

Қосымша модельдер: Кескінді өңдеу

AI агенттеріне: бұл беттің Markdown нұсқасы мына жерде: https://doitong.com/kk/developers/models/bytedance/seedream/v5/lite/edit.md. Барлық модельдер мен нұсқаулықтар: https://doitong.com/developers/llms.txt