Peke ki ngā ihirangi

Turbo Flux Trainer

Whakauru

id tauira turbo-flux-trainer
# 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/turbo-flux-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images_data_url": "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.ru/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 2.40 2,400 whiwhinga API · ≈ ₽ 258.19 Whakahaerehia ki tēnei whārangi

Tikina he kī API
Black Forest Labs Whakangungu Tere

Ka whakangungu i tētahi FLUX dev LoRA i runga i te kōtui atahanga, mō tētahi kaupapa, kāhua rānei, me ngā mana hīkoi me te tere ako

Black Forest Labs · Kōnae

Kei konei tō hua tuatahi

Hangaia he tono ki raro nei, ka whakahaere mā tō kī API. Ka tāruatia ngā putanga ki tō mātou rokiroki, ka puritia mō ake tonu atu, mō rānei 7 rā mō te kore utu.

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

URL pūranga atahanga whakangungu: tukuna he zip kei roto ngā atahanga e ōrite ana te kāhua, ko te pai 10 neke atu rānei. He pai ake ngā huinga atahanga nui ake.

taunoa 1000

Te maha o ngā hipanga whakangungu mō LoRA.

Arā atu training_style · trigger_phrase · learning_rate · face_crop
training_style taunoa subject

Kōwhiringa kāhua whakangungu.

taunoa ohwx

Tukuna he rerenga whakaoho hei whakakapi i `[trigger]` i ngā tapanga tīariari, hei tapanga rānei ina kāore he tapanga (trigger_work). Mā None e mono te kupu whakaoho.

taunoa 0.00115

Auau ako i whakamahia i te wā whakangungu.

POST /run/turbo-flux-trainer?wait=20 utu → $ 2.40
# 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/turbo-flux-trainer?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "images_data_url": "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.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ō Turbo Flux Trainer

He tauira whakangungu ka whakaputa taumaha LoRA ritenga mai i tētahi pūranga zip atahanga mā `images_data_url`; e taunakitia ana kia 10 neke atu ngā atahanga. Whakaritea `training_style` ki subject, kāhua rānei, kōwhiria he `trigger_phrase` (taunoa ohwx), ka whakarite i `steps` (1 ki te 10000) me `learning_rate`. Mā `face_crop` e tapahi ngā atahanga ki ngā kanohi kua kitea. Ko te putanga he kōnae taumaha diffusers LoRA me tētahi kōnae config.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
images_data_urle hiahiatia ana
Momostring
URL pūranga atahanga whakangungu: tukuna he zip kei roto ngā atahanga e ōrite ana te kāhua, ko te pai 10 neke atu rānei. He pai ake ngā huinga atahanga nui ake.
trigger_phrasekōwhiringa
Momostring | null
Taunoaohwx
Tukuna he rerenga whakaoho hei whakakapi i `[trigger]` i ngā tapanga tīariari, hei tapanga rānei ina kāore he tapanga (trigger_work). Mā None e mono te kupu whakaoho.
stepskōwhiringa
Momointeger
Taunoa1000
1 – 10,000
Te maha o ngā hipanga whakangungu mō LoRA.
learning_ratekōwhiringa
Momonumber
Taunoa0.00115
0 – 0.01
Auau ako i whakamahia i te wā whakangungu.
training_stylekōwhiringa
Momoenum
Taunoasubject
subjectstyle
Kōwhiringa kāhua whakangungu.
face_cropkōwhiringa
Momoboolean
Taunoatrue
Whakakā tapahi atahanga ā-kanohi, me te whakamātau tuatahi ki te kimi i te kanohi.
e hiahiatia ana

Putanga

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "turbo-flux-trainer",
  "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": 2400,
    "usd": "2.40",
    "charged": 2400,
    "refunded": 0
  },
  "input": {
    "images_data_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "diffusers_lora_file": {
      "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
    },
    "config_file": {
      "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
    }
  },
  "outputs": [
    {
      "type": "file",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "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
diffusers_lora_file
object {url, content_type, file_name, file_size}URL e tohu ana ki ngā taumahatanga LoRA kua whakangungua, kei te hōputu diffusers.
config_file
object {url, content_type, file_name, file_size}URL mō te kōnae whirihoranga o te tauira diffusers kua whakangungua.

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