Peke ki ngā ihirangi

Flux 2 Lora Gallery · Apartment Staging

Whakauru

id tauira flux-2-lora-gallery/apartment-staging
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/flux-2-lora-gallery/apartment-staging?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: ≈$ 0.021 21 whiwhinga API · ≈ ₽ 2.26 Whakahaerehia ki tēnei whārangi

Tikina he kī API

I hangaia ki Doitong

Ngā mahi tūmatanui i hangaia ki Flux 2 LoRA Gallery e te hapori Doitong. Whakamahia anō he tono mā te pāwhiri kotahi.

Ngā mahi tūmatanui kua whakaaturia: 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...

Hangaia he tono

Ka hangaia ngā mana whakahaere mai i te aronuinga o te tauira. Ka whakahoungia te waehere me te utu ina whakarerekē koe.

•e hiahiatia ana

Tohutohu whakapaipai rūma; e manakohia ana ko 'furnish this room' mō ngā hua pai rawa.

•e hiahiatia ana image_urls
Whakataka he kōnae,

He URL e tohu ana ki tētahi atahanga rūma wātea hei whakapaipai.

image_size

Te whakakapi rahi putanga; mā te waiho kia kore e tautuhia ka pupuri ngā inenga o te atahanga tāuru.

num_images taunoa 1

Te maha o ngā atahanga hei whakaputa.

Arā atu acceleration · output_format · guidance_scale · num_inference_steps · lora_scale · seed · enable_safety_checker
acceleration taunoa regular

Te tautuhinga whakatere whakaputa atahanga. Kōwhiria 'regular' mō te taurite i waenga i te tere me te kounga.

output_format taunoa png

Hōputu mō te atahanga ka puta.

taunoa 2.5

Te whakahaere ū ki te tohutohu mā te tauine CFG, ko CFG te Classifier Free Guidance.

taunoa 40

Tau o ngā hipanga whakatauira hei whakahaere.

taunoa 1

Te kaha o te panoni whakapaipai whare.

He kākano whakaputanga matapōkere e taea ai te whakahoki i tētahi hua mā te pupuri i te tohutohu me te kākano kia kaua e panoni.

POST /run/flux-2-lora-gallery/apartment-staging?wait=20 utu → $ 0.021
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.ru/v1/run/flux-2-lora-gallery/apartment-staging?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Whakahaerehia tēnei tono

Ka noho tō kī ki tēnei pūtirotiro: ka tukuna ki te Doitong API anake, ā, ka tiakina ki te localStorage anake ina tohua e koe te Mahara. Tikina he kī API

Mō Flux 2 Lora Gallery · Apartment Staging

Ka tango i tētahi atahanga o tētahi rūma wātea i `image_urls` me tētahi `prompt`, ka whakahoki i te putanga kua whakapaipaitia. E taunakihia ana te tohutohu 'furnish this room'. Mā `lora_scale` (0 ki te 2) e whakahaere te kaha o te pānga whakapaipai. Ka whai te rahi putanga i te atahanga tāuru mēnā kāore `image_size` e tautuhia, ā, kia 4 ngā atahanga ka taea te whakahoki.

Ngā tawhā

Tukuna te ingoa tōmua, te ingoa taketake rānei, kaua e rua. Ngā ingoa tōmua

IngoaMomo TaunoaE whakaaetia ana Whakamārama
image_urlse hiahiatia ana images
Momourl[] · image
He URL e tohu ana ki tētahi atahanga rūma wātea hei whakapaipai.
prompte hiahiatia ana
Momostring
Tohutohu whakapaipai rūma; e manakohia ana ko 'furnish this room' mō ngā hua pai rawa.
image_sizekōwhiringa
Momoobject
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
Te whakakapi rahi putanga; mā te waiho kia kore e tautuhia ka pupuri ngā inenga o te atahanga tāuru.
guidance_scalekōwhiringa
Momonumber
Taunoa2.5
0 – 20
Te whakahaere ū ki te tohutohu mā te tauine CFG, ko CFG te Classifier Free Guidance.
num_inference_stepskōwhiringa
Momointeger
Taunoa40
4 – 50
Tau o ngā hipanga whakatauira hei whakahaere.
accelerationkōwhiringa
Momoenum
Taunoaregular
noneregular
Te tautuhinga whakatere whakaputa atahanga. Kōwhiria 'regular' mō te taurite i waenga i te tere me te kounga.
seedkōwhiringa
Momointeger | null
He kākano whakaputanga matapōkere e taea ai te whakahoki i tētahi hua mā te pupuri i te tohutohu me te kākano kia kaua e panoni.
enable_safety_checkerkōwhiringa
Momoboolean
Taunoatrue
He whakakā/whakaweto tirotiro haumaru atahanga kua whakaputaina, ka taea anake e ngā pūkete whai whakaaetanga te monokia. Ka noho whakahauanga ngā tirotiro mō ngā tono kāore he whakaaetanga.
output_formatkōwhiringa
Momoenum
Taunoapng
pngjpegwebp
Hōputu mō te atahanga ka puta.
num_imageskōwhiringa num_outputs
Momointeger
Taunoa1
1 – 4
Te maha o ngā atahanga hei whakaputa.
lora_scalekōwhiringa
Momonumber
Taunoa1
0 – 2
Te kaha o te panoni whakapaipai whare.
e hiahiatia ana Ingoa tōmua, e whakaaetia ana hoki

Mō ngā tawhā kōnae, whakamahia he URL tūmatanui https://, he URI data: tae atu ki te 10 MB, he file_url rānei o tētahi tukuake. Ngā kōnae

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "flux-2-lora-gallery/apartment-staging",
  "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": 21,
    "usd": "0.021",
    "charged": 21,
    "refunded": 0
  },
  "input": {
    "image_urls": [
      "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
    ],
    "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,
    "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.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.ru/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Ō kōnae, māu e whiriwhiriKo ia url o outputs[] he tārua kei tō mātou rokiroki: ka puritia mō ake tonu atu (ka utua ia GB-marama) mō rānei 7 rā mō te kore utu, e ai ki ngā tautuhinga o tō pūkete, ki te ?storage= rānei.
He ōrite te hanga ki ia tauiratype, url, content_type, width, height me duration, mō ngā pikitia, ataata me te oro. Ko output te ahanoa hua ake o te tauira.
Ngā āpure o te putanga
images
array of object {url, content_type, file_name, file_size, width, height}Ngā atahanga putanga e whakaatu ana i te rūma kua whakapaipaitia.
seed
integerTe uara kākano i whakamahia i te whakaputanga.
prompt
stringTe tohutohu i whakamahia i te whakaputanga.

Ētahi atu tauira: Whakatika Atahanga

Mō ngā āpiha AI: kei te wātea tēnei whārangi hei Markdown ki https://doitong.com/mi/developers/models/flux-2-lora-gallery/apartment-staging.md. Ngā tauira me ngā aratohu katoa: https://doitong.com/developers/llms.txt