Léim chuig an ábhar

Bytedance Seedream V4.5 Edit

Comhtháthú

Aitheantas na samhla bytedance/seedream/v4.5/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/v4.5/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"

An t-iarratas seo: $0.04 40 gcreidmheas API Rith ar an leathanach seo

Faigh eochair API
ByteDance Eagarthóireacht Íomhá Aschur 4K #stylized#transform

Cuirtear íomhá thagartha amháin nó níos mó in eagar ó threoir téacs, suas le 10 n-ionchur, le méideanna aschuir 2K/4K

Déanta ar Doitong

Saothair phoiblí déanta leis an Bytedance Seedream V4.5 ag pobal Doitong. Athúsáid leid le clic amháin.

Saothair phoiblí ar taispeáint: 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,...

Tóg iarratas

Gintear na rialtáin ó scéim na samhla. Nuashonraítear an cód agus an praghas de réir mar a athraíonn tú iad.

•riachtanach

Treoracha téacs chun an íomhá a chur in eagar.

•riachtanach image_urls
Scaoil comhad, nó

URLanna íomhánna eagarthóireachta, próiseáilte ó na 10 n-iontráil dheireanacha má sheoltar liosta níos faide; is é 10 n-íomhá an teorainn ionchuir reatha.

image_size réamhshocrú {"height":2048,"width...

Caithfidh méid na híomhá ginte ceann amháin de dhá choinníoll a shásamh: comhaireamh iomlán picteilíní ó 2560*1440 go 4096*4096, nó leithead agus airde idir 1920–4096 an ceann.

num_images réamhshocrú 1

Líon ritheanna neamhspleácha giniúna na samhla leis an leid.

réamhshocrú 1

Socraigh uasteorainn íomhánna in aghaidh na giniúna le `max_images`; cumasaíonn luachanna os cionn a haon giniúint ilíomhánna. Trasna `num_images` giniúint, féadfaidh gach ceann suas le `max_images` íomhá a thabhairt ar ais, rud a thugann comhaireamh aschuir ó `num_images` go `max_images*num_images`. Ní fhéadfar níos mó ná 15 íomhá a úsáid le chéile sna hionchuir agus sna haschuir.

Ardleibhéal seed · enable_safety_checker

Síol randamach a rialaíonn randamacht le linn giniúint íomhánna.

POST /run/bytedance/seedream/v4.5/edit?wait=20 luachan → $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/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"

Rith an t-iarratas seo

Fanann d'eochair sa bhrabhsálaí seo: seoltar chuig Doitong API amháin í agus sábháiltear (localStorage) í ach amháin má chuireann tú tic le Meabhraigh. Faigh eochair API

Maidir le Bytedance Seedream V4.5 Edit

Leagan eagarthóireachta íomhánna de Seedream 4.5. Cuir `prompt` agus `image_urls` ar aghaidh (suas le 10 n-íomhá; má sheoltar níos mó, ní úsáidtear ach na 10 gcinn dheireanacha). Glacann `image_size` le réamhshocruithe amhail square_hd, portrait_16_9, auto_2K agus auto_4K, nó leithead agus airde saincheaptha. Téann `num_images` agus `max_images` suas go 6 an ceann le haghaidh aschur ilíomhánna.

Paraiméadair

Seol an t-ainm canónach nó an t-ainm dúchasach, ní an dá cheann. Ainmneacha canónacha

AinmCineál RéamhshocrúCeadaithe Cur síos
promptriachtanach
Cineálstring
Treoracha téacs chun an íomhá a chur in eagar.
image_sizeroghnach
Cineálobject
Réamhshocrú{"height":2048,"width":2048}
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9auto_2Kauto_4K
Caithfidh méid na híomhá ginte ceann amháin de dhá choinníoll a shásamh: comhaireamh iomlán picteilíní ó 2560*1440 go 4096*4096, nó leithead agus airde idir 1920–4096 an ceann.
num_imagesroghnach num_outputs
Cineálinteger
Réamhshocrú1
1 – 6
Líon ritheanna neamhspleácha giniúna na samhla leis an leid.
max_imagesroghnach
Cineálinteger
Réamhshocrú1
1 – 6
Socraigh uasteorainn íomhánna in aghaidh na giniúna le `max_images`; cumasaíonn luachanna os cionn a haon giniúint ilíomhánna. Trasna `num_images` giniúint, féadfaidh gach ceann suas le `max_images` íomhá a thabhairt ar ais, rud a thugann comhaireamh aschuir ó `num_images` go `max_images*num_images`. Ní fhéadfar níos mó ná 15 íomhá a úsáid le chéile sna hionchuir agus sna haschuir.
seedroghnach
Cineálinteger | null
Síol randamach a rialaíonn randamacht le linn giniúint íomhánna.
enable_safety_checkerroghnach
Cineálboolean
Réamhshocrútrue
Lascthrealamh seiceála sábháilteachta a éilíonn údarú cuntais nuair atá sé múchta. Gan an t-údarú sin, seiceáiltear gach iarratas beag beann ar an socrú; cumasaíonn true an seiceálaí.
image_urlsriachtanach images
Cineálurl[] · image
URLanna íomhánna eagarthóireachta, próiseáilte ó na 10 n-iontráil dheireanacha má sheoltar liosta níos faide; is é 10 n-íomhá an teorainn ionchuir reatha.
riachtanach Ainm canónach, glactar leis freisin

Glacann paraiméadair chomhaid le URL poiblí https://, URI data: suas le 10 MB, nó file_url uaslódála. Comhaid

Aschur

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "bytedance/seedream/v4.5/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": 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",
    "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
      }
    ]
  },
  "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"
  }
}
Do chuid comhad, do roghaIs cóip ar ár stóráil é gach outputs[].url: coinnithe go deo (íoctha in aghaidh GB-mhí) nó ar feadh 7 lá saor in aisce, de réir shocrú do chuntais nó ?storage=.
An cruth céanna ar gach samhailtype, url, content_type, width, height agus duration, d'íomhánna, d'fhíseáin agus d'fhuaim araon. Is é output réad toraidh na samhla féin.
Réimsí aschuir
images
array of object {url, content_type, file_name, file_size, width, height}Íomhánna a tháirgeann an tsamhail.

Tuilleadh samhlacha: Eagarthóireacht Íomhá

Do ghníomhairí AI: tá an leathanach seo mar Markdown ag https://doitong.com/ga/developers/models/bytedance/seedream/v4.5/edit.md. Gach samhail agus treoir: https://doitong.com/developers/llms.txt