Leum chun t-susbaint

Flux 3 Image · Edit Image

Amalaich

ID a’ mhodail blackforestlabs/flux-3/edit-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/blackforestlabs/flux-3/edit-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",
    "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-iarrtas seo: $0.048 48 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Black Forest Labs Deasachadh Ìomhaighean Toradh 4Ksuas ri 4k #flux-3-image#black-forest-labs#multi-reference

Deasaiche ìomhaighean FLUX 3 a nì deasachaidhean ionadail agus a choimeas suas ri 10 ìomhaighean-iomraidh

Air a dhèanamh air Doitong

Obraichean poblach a rinn coimhearsnachd Doitong le Flux 3 Image. Ath-chleachd prompt ann an aon bhriogadh.

Obraichean poblach air an sealltainn: 9
Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lemb...

Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi...

Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lemb...

Close-up portrait seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi...

Prompt Details Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut ...

Prompt Details Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi...

Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikel...

Seorang wanita berkulit pucat berdiri setengah tubuh di dalam air berwarna lembut kebiruan, dikelilingi bunga teratai berkelopak penuh yang bermekaran indah di permukaan air. Rambutnya pirang pucat tersanggul longgar dengan beberapa helaian tipis jatuh alami membingkai sisi wajahnya. Ia memeluk...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat men...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat menggemaskan dengan mata cokelat besar yang ekspresif, rambut hitam berantakan yang tebal, mengenakan kaus putih kerah henley. Dia berpose dengan kedua tangan terkatup di depan dada, menunjukkan senyum...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat men...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat menggemaskan dengan mata cokelat besar yang ekspresif, rambut hitam berantakan yang tebal, mengenakan kaus putih kerah henley. Dia berpose dengan kedua tangan terkatup di depan dada, menunjukkan senyum...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat men...

​"Potret sinematik ultra-realistis close-up seorang anak laki-laki kecil (balita) yang sangat menggemaskan dengan mata cokelat besar yang ekspresif, rambut hitam berantakan yang tebal, mengenakan kaus putih kerah henley. Dia berpose dengan kedua tangan terkatup di depan dada, menunjukkan senyum...

Foto sinematik hiper-realistis resolusi tinggi menampilkan seorang pria muda Indonesia dengan tub...

Foto sinematik hiper-realistis resolusi tinggi menampilkan seorang pria muda Indonesia dengan tubuh ramping dan proporsional, rambut hitam pendek agak acak, mengenakan jaket kulit hitam, celana riding fit, dan sepatu motor. Ia sedang melakukan aksi freestyle ekstrem dengan motor sport 500cc...

Tog iarrtas

Tha na smachdan air an cruthachadh bho sgeama a’ mhodail. Bidh an còd agus a’ phrìs ag ùrachadh fhad ’s a dh’atharraicheas tu iad.

•riatanach

Prompt a stiùireas gineadh ìomhaighe.

•riatanach image_urls
Leig às faidhle, no · suas ri 10

Ìomhaighean iomraidh air an toirt seachad tro URLan no URIan dàta; bidh an co-mheas taobh fèin-obrachail a’ leantainn ìomhaigh 1 san t-sreath suas gu ìomhaigh 10. Feumaidh gach tomhas a bhith co-dhiù 256 piogsail. Bidh lughdachadh fèin-obrachail a’ cur crìoch air ìomhaighean ro mhòra aig 4 megapixel gun na co-mheasan aca atharrachadh.

resolution bun-roghainn 1k

Ìre dùmhlachd-bhreacaidh airson an às-chuir; faodaidh gineadh aig 4k grunn mhionaidean a thoirt.

bun-roghainn auto

Co-mheas taobh an às-chuir. Rè deasachaidh, bidh Auto a’ maidseadh co-mheas a’ chiad ìomhaigh iomraidh.

Adhartach output_format · version · safety_tolerance · enable_prompt_expansion
output_format bun-roghainn jpeg

Cruth faidhle na h-ìomhaigh a thig às.

bun-roghainn latest

Tionndadh a’ mhodail ri chleachdadh.

bun-roghainn 2

Fulangas sàbhailteachd bho 0, an suidheachadh as teinne, gu 4.

POST /run/blackforestlabs/flux-3/edit-image?wait=20 tuairmse → $0.048
# 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/blackforestlabs/flux-3/edit-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",
    "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"

Ruith an t-iarrtas seo

Fuirichidh an iuchair agad sa bhrobhsair seo: thèid a cur chun Doitong API a-mhàin agus a sàbhaladh (localStorage) a-mhàin ma chuireas tu comharra ri Cuimhnich. Faigh iuchair API

Mu Flux 3 Image · Edit Image

Deasaich ìomhaigh no dèan co-dhealbhadh à 1 gu 10 iomraidhean ann an `image_urls`, gach fear co-dhiù 256 piogsail gach taobh. Tagh `aspect_ratio` à 14 roghainnean no fàg air auto e, a leanas a’ chiad iomradh. Tha `resolution` a’ tabhann 512sq, 768sq, 1k, 2k agus 4k, agus faodaidh 4k grunn mhionaidean a thoirt. Tha leudachadh prompt roghainneil agus toradh jpeg no png rim faighinn.

Paramadairean

Cuir an t-ainm canonical no an t-ainm dùthchasach, chan e an dà chuid. Ainmean canonical

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
promptriatanach
Seòrsastring
Prompt a stiùireas gineadh ìomhaighe.
image_urlsriatanach images
Seòrsaurl[] · image
≤ 10 nì
Ìomhaighean iomraidh air an toirt seachad tro URLan no URIan dàta; bidh an co-mheas taobh fèin-obrachail a’ leantainn ìomhaigh 1 san t-sreath suas gu ìomhaigh 10. Feumaidh gach tomhas a bhith co-dhiù 256 piogsail. Bidh lughdachadh fèin-obrachail a’ cur crìoch air ìomhaighean ro mhòra aig 4 megapixel gun na co-mheasan aca atharrachadh.
aspect_ratioroghainneil
Seòrsaenum
Bun-roghainnauto
auto21:92:116:93:27:54:35:41:14:53:45:72:39:161:2
Co-mheas taobh an às-chuir. Rè deasachaidh, bidh Auto a’ maidseadh co-mheas a’ chiad ìomhaigh iomraidh.
resolutionroghainneil
Seòrsaenum
Bun-roghainn1k
512sq768sq1k2k4k
Ìre dùmhlachd-bhreacaidh airson an às-chuir; faodaidh gineadh aig 4k grunn mhionaidean a thoirt.
enable_prompt_expansionroghainneil
Seòrsaboolean
Bun-roghainnfalse
A’ cumail smachd air leudachadh a’ phrompt gun bhrìgh no dreuchdan nan iomraidhean atharrachadh.
safety_toleranceroghainneil
Seòrsainteger
Bun-roghainn2
0 – 4
Fulangas sàbhailteachd bho 0, an suidheachadh as teinne, gu 4.
output_formatroghainneil
Seòrsaenum
Bun-roghainnjpeg
jpegpng
Cruth faidhle na h-ìomhaigh a thig às.
versionroghainneil
Seòrsastring
Bun-roghainnlatest
Tionndadh a’ mhodail ri chleachdadh.
riatanach Ainm canonical, gabhar ris cuideachd

Gabhaidh paramadairean faidhle ri URL poblach https://, URI data: suas ri 10 MB, no file_url de luchdachadh suas. Faidhlichean

Toradh

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "blackforestlabs/flux-3/edit-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": 48,
    "usd": "0.048",
    "charged": 48,
    "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"
  }
}
Na faidhlichean agad, do roghainnTha gach outputs[].url na lethbhreac air an stòradh againn: air a chumail gu bràth (air a phàigheadh gach GB-mìos) no 7 latha an-asgaidh, a rèir suidheachadh a’ chunntais agad no ?storage=.
An aon chruth air gach modailtype, url, content_type, width, height agus duration, airson dealbhan, bhidio agus fuaim le chèile. ’S e output nì toraidh a’ mhodail fhèin.
Raointean toraidh
images
array of object {url, content_type, file_name, file_size, width, height}Ìomhaigh a rinn am modail.

Barrachd mhodalan: Deasachadh Ìomhaighean

Do riochdairean AI: tha an duilleag seo mar Markdown aig https://doitong.com/gd/developers/models/blackforestlabs/flux-3/edit-image.md. Na modailean agus na treòraichean uile: https://doitong.com/developers/llms.txt