Dža ko lil

Ideogram V4.0q LoRA Trainer

Integriruj

Modelosko id ideogram/v4/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/ideogram/v4/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"

Kava mangipen: $6.75 6,750 API krediti · ≈ ₽711.88 Phir les kate

Lel API klidin
Ideogram · Fajlo

Tiro prvo rezultato si kate

Ker tele jekh mangipen thaj phir les tire API klidinosa. E rezultatur si kopirime amare arakhipneste, vično vaj 7 dives bilačhes.

Ker jekh mangipen

O kontrolura kerde si katar e schemaske. O kodo thaj e cena menjinen sar tu len menjines.

•trubul

Training-data ZIP URL savo si les kipa thaj captionura, savore captionura si ande .txt fajlo save len sajek filename stem sar leng-o kipo. O trenero kerel katar o target-only dataset savo prepare_dataset_dir kerel.

standardno auto

Trainingoske kipeske dimensiona, specifikane sar preset, auto, vaj custom WIDTHxHEIGHT string savesa savore dimensiona si divisible 16-sa. Center cropping naj bararel opre e kipa; auto alosarel o majbaro crop savo datasetos si les thaj savo naj manglardo te bararel. Presetura si 1024x1024 (square), 1536x1024 (landscape), 1024x1536 (portrait), 1920x1088 (widescreen), 2048x768 (ultrawide), 1024x1792 (phone_wallpaper), thaj 1584x400 (social_banner).

standardno 1000

Gendo e nevešaripaski fazako vaš LoRA trening.

Lučhe default_caption · learning_rate

Caption aplikirime pe savore kipa kana force_default_caption si true, paruvindoj e caption fajlura; averčhes, služil numa vaš kipa bi caption fajlosko.

standardno 0.0001
POST /run/ideogram/v4/trainer?wait=20 hesab → $6.75
# 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/ideogram/v4/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"

Phandel kava mangipen

Tiro kluč ačhel kadale browsereste: bičhalel pes numa ko Doitong API thaj šuvav pes (localStorage) numa te tiknes Remember. Le jekh API ključ

Palal Ideogram V4.0q LoRA Trainer

Sikavel jekh LoRA pe tyo dataset vaš personalizacija vaj jekh specifikano stilo. `images_data_url` sikavel pe zip e kipa, e captionura čitindoj andar fajlura e sajek navenca .txt, thaj `default_caption` pherel e našile. `steps` džal 100 dži 40000 (standardno 1000), thaj `learning_rate` thaj `resolution` šaj te aven paruvde. Del LoRA pharipasko fajlo thaj jekh config fajlo.

Parametra

NavTip standardnoMuklo Vakeripe
images_data_urltrubul
Tipstring
Training-data ZIP URL savo si les kipa thaj captionura, savore captionura si ande .txt fajlo save len sajek filename stem sar leng-o kipo. O trenero kerel katar o target-only dataset savo prepare_dataset_dir kerel.
stepsopcionalno
Tipinteger
standardno1000
100 – 40,000
Gendo e nevešaripaski fazako vaš LoRA trening.
default_captionopcionalno
Tipstring | null
Caption aplikirime pe savore kipa kana force_default_caption si true, paruvindoj e caption fajlura; averčhes, služil numa vaš kipa bi caption fajlosko.
resolutionopcionalno
Tipstring
standardnoauto
Trainingoske kipeske dimensiona, specifikane sar preset, auto, vaj custom WIDTHxHEIGHT string savesa savore dimensiona si divisible 16-sa. Center cropping naj bararel opre e kipa; auto alosarel o majbaro crop savo datasetos si les thaj savo naj manglardo te bararel. Presetura si 1024x1024 (square), 1536x1024 (landscape), 1024x1536 (portrait), 1920x1088 (widescreen), 2048x768 (ultrawide), 1024x1792 (phone_wallpaper), thaj 1584x400 (social_banner).
learning_rateopcionalno
Tipnumber
standardno0.0001
0.000001 – 0.01
trubul

Rezultato

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v4/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": 6750,
    "usd": "6.75",
    "charged": 6750,
    "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"
  }
}
Tire fajlura, tiro alosaripenSako outputs[].url si kopija amare arakhipneste: vično (čargeime per GB-mase) vaj 7 dives bilačhes, tiro kontoskere regulaciatar vaj ?storage=.
Sa jekh forma sako modeloθartype, url, content_type, width, height thaj duration, varesave imajinake, video thaj audio-ke. output si o modelosko korkoro resultosko objekto.
Outputoske fieldura
diffusers_lora_file
object {url, content_type, file_name, file_size}URL vaš Ideogram V4 LoRA vazde savo si kerde treningesa.
config_file
object {url, content_type, file_name, file_size}URL e javno dostupna training konfiguracijake.

Bute modeli: Sikavipen

AI agentenge: kadija rig sar Markdown si kate https://doitong.com/rom/developers/models/ideogram/v4/trainer.md. Sa e modelura thaj e gidura: https://doitong.com/developers/llms.txt