Leum chun t-susbaint

FLUX.1 [dev] Redux · Flux 1

Amalaich

ID a’ mhodail flux-1/dev/redux
# 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/flux-1/dev/redux?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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.025 25 creideasan API Ruith e air an duilleig seo

Faigh iuchair API
Black Forest Labs Deasachadh Ìomhaighean

Redux a’ mhodail dev a dh’atharraicheas ìomhaigh iomraidh gun prompt teacsa sam bith

Air a dhèanamh air Doitong

Obraichean poblach a rinn coimhearsnachd Doitong le FLUX.1. 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 image_url
Leig às faidhle, no

URL a tha a’ comharrachadh na h-ìomhaighe tùsail a chaidh a chleachdadh airson gineadh ìomhaighe.

image_size bun-roghainn landscape_4_3

Meudan na h-ìomhaigh ghineadh.

num_images bun-roghainn 1

Àireamh nan ìomhaighean a chaidh iarraidh airson gineadh.

Adhartach output_format · acceleration · num_inference_steps · guidance_scale · seed · enable_safety_checker
output_format bun-roghainn jpeg

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

acceleration bun-roghainn none

Luathachadh gineadh; bidh suidheachaidhean nas àirde a’ lùghdachadh na h-ùine a tha a dhìth airson toraidhean a ghineadh.

bun-roghainn 28

Àireamh nan ceumannan co-dhùnaidh ri ruith.

bun-roghainn 3.5

Neart gèilleadh ris a’ phrompt airson taghadh ìomhaigh, air a chur an cèill mar CFG (Classifier Free Guidance).

Sìol airson ìomhaighean ath-riochdachail: cruthaichidh prompt agus sìol co-ionann an aon ìomhaigh nuair nach eil tionndadh a’ mhodail air atharrachadh.

POST /run/flux-1/dev/redux?wait=20 tuairmse → $0.025
# 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/flux-1/dev/redux?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "image": "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.1 [dev] Redux · Flux 1

Gabhaidh e aon ìomhaigh iomraidh tro `image_url` agus tillidh e caochlaidhean ùra, gun prompt a bhith riatanach. Tagh meud an toraidh bho ro-sheataichean `image_size` (landscape_4_3 mar bhunait). ’S e 28 ceum co-dhùnaidh am bunait, suas ri 50, le `guidance_scale` eadar 1 agus 20. Tillidh e suas ri 4 ìomhaighean ann an jpeg no png.

Paramadairean

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

AinmSeòrsa Bun-roghainnCeadaichte Tuairisgeul
image_urlriatanach image
Seòrsaurl · image
URL a tha a’ comharrachadh na h-ìomhaighe tùsail a chaidh a chleachdadh airson gineadh ìomhaighe.
image_sizeroghainneil
Seòrsaobject
Bun-roghainnlandscape_4_3
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Meudan na h-ìomhaigh ghineadh.
num_inference_stepsroghainneil
Seòrsainteger
Bun-roghainn28
1 – 50
Àireamh nan ceumannan co-dhùnaidh ri ruith.
seedroghainneil
Seòrsainteger | null
Sìol airson ìomhaighean ath-riochdachail: cruthaichidh prompt agus sìol co-ionann an aon ìomhaigh nuair nach eil tionndadh a’ mhodail air atharrachadh.
guidance_scaleroghainneil
Seòrsanumber
Bun-roghainn3.5
1 – 20
Neart gèilleadh ris a’ phrompt airson taghadh ìomhaigh, air a chur an cèill mar CFG (Classifier Free Guidance).
num_imagesroghainneil num_outputs
Seòrsainteger
Bun-roghainn1
1 – 4
Àireamh nan ìomhaighean a chaidh iarraidh airson gineadh.
enable_safety_checkerroghainneil
Seòrsaboolean
Bun-roghainntrue
Sgrùdadh sàbhailteachd, a thilleas ìomhaighean dubha an àite ìomhaighean sam bith a chaidh an comharrachadh mar mhì-shàbhailte. Bidh true a’ comasachadh sgrùdaidh; cuiridh false à comas e dìreach airson chunntasan ùghdarraichte, agus thèid iarrtasan gun ùghdarras a sgrùdadh co-dhiù.
output_formatroghainneil
Seòrsaenum
Bun-roghainnjpeg
jpegpng
Cruth faidhle na h-ìomhaigh a thig às.
accelerationroghainneil
Seòrsaenum
Bun-roghainnnone
noneregularhigh
Luathachadh gineadh; bidh suidheachaidhean nas àirde a’ lùghdachadh na h-ùine a tha a dhìth airson toraidhean a ghineadh.
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": "flux-1/dev/redux",
  "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": 25,
    "usd": "0.025",
    "charged": 25,
    "refunded": 0
  },
  "input": {
    "image_url": "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",
        "width": 1024,
        "height": 768,
        "content_type": "image/jpeg"
      }
    ],
    "timings": {},
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ],
    "prompt": "string"
  },
  "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, width, height, content_type}Fiosrachadh faidhle airson nan ìomhaighean gineadh.
timings
object
seed
integerSìol gineadh ìomhaighe, a’ gabhail a-steach an luach a chaidh a thaghadh air thuaiream ma chaidh sìol fhàgail às an in-chur; air dhòigh eile, bidh e ag ath-aithris an luach a chaidh a solar.
has_nsfw_concepts
array of booleanA’ comharrachadh a bheil bun-bheachdan NSFW a’ nochdadh anns na h-ìomhaighean a chaidh a ghineadh.
prompt
stringPrompt a chaidh a chleachdadh rè gineadh ìomhaighe.

Barrachd mhodalan: Deasachadh Ìomhaighean

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