Op den Inhalt sprangen

Ideogram · Custom Models

Integréieren

Modell-ID ideogram/custom-models
# 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/custom-models?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"

Dës Ufro: 40,00 $ 40.000 API-Kreditter · ≈ 4.218,53 ₽ Op dëser Säit ausféieren

API-Schlëssel kréien
Ideogram Training #stylized#transform

Trainéiert e personaliséierten Ideogram-Modell aus engem ZIP mat 10-100 Biller

Ideogram · Datei

Äin éischt Resultat kënnt hei hin

Baut hei drënner eng Ufro a féiert se mat Ärem API-Schlëssel aus. Output gëtt an eis Späicherung kopéiert, fir ëmmer oder 7 Deeg gratis gespäichert.

Eng Ufro erstellen

D'Kontrolle ginn aus dem Modellschema generéiert. De Code an de Präis aktualiséiere sech, wann s du se ännerst.

•obligatoresch

Gitt Trainingsdaten iwwer eng ZIP-URL un, mat 10 bis 100 JPEG-, PNG- oder WebP-Biller. Fir d'Training mat Ënnerschrëften unzeleeden, kënnt Dir optional ``<stem>.txt``-Begleeddateie bäifügen; d'Zouuerdnung benotzt den gemeinsamen Dateinumm `<stem>` vun all Bild an Ënnerschrëft.

POST /run/ideogram/custom-models?wait=20 Präis → 40,00 $
# 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/custom-models?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"

Dës Ufro ausféieren

Äre Schlëssel bleift an dësem Browser: e gëtt nëmmen un d'Doitong API geschéckt an nëmme gespäichert (localStorage), wann s du „Erënneren“ aktivéiers. En API-Schlëssel kréien

Iwwer Ideogram · Custom Models

Training-Endpoint, deen `images_data_url` akzeptéiert: e ZIP-Archiv mat 10 bis 100 JPEG-, PNG- oder WebP-Biller. Optional Caption-Dateie mam Numm `<stem>.txt` kënnen dobäi sinn, fir d'Training ze guidéieren. Gëtt e `model_id` an eng URI fir de personaliséierte Modell fir den Generate-Endpoint zréck.

Parameteren

NummTyp StandardErlaabt Beschreiwung
images_data_urlobligatoresch
Typstring
Gitt Trainingsdaten iwwer eng ZIP-URL un, mat 10 bis 100 JPEG-, PNG- oder WebP-Biller. Fir d'Training mat Ënnerschrëften unzeleeden, kënnt Dir optional ``<stem>.txt``-Begleeddateie bäifügen; d'Zouuerdnung benotzt den gemeinsamen Dateinumm `<stem>` vun all Bild an Ënnerschrëft.
obligatoresch

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/custom-models",
  "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": 40000,
    "usd": "40.00",
    "charged": 40000,
    "refunded": 0
  },
  "input": {
    "images_data_url": "https://content.doitong.com/images/showcase/v3/gen_fox_cartoon.jpg"
  },
  "output": {
    "model_id": "string",
    "custom_model_uri": "string"
  },
  "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"
  }
}
Är Fichieren, Är WielAll outputs[].url ass eng Kopie an eiser Späicherung: fir ëmmer gespäichert (bezuelbar pro GB-Mount) oder 7 Deeg gratis, jee no Ärer Kontastellung oder ?storage=.
D'selwecht Struktur bei all Modelltype, url, content_type, width, height an duration, fir Biller, Video an Audio gläichermoossen. output ass dem Modell säin eegent Resultatobjet.
Output-Felder
model_id
stringIdeogram-Modellidentifizéierer, dee fir /generate geliwwert gëtt.
custom_model_uri
stringURI vum trainéierte Modell, dee fir direkt Opriff op d'ëffentlech Generatiounsroute vun Ideogram v3 iwwer `custom_model_uri` bereetgestallt gëtt. Opruffer, déi `/generate` benotzen, kréien amplaz eng automatesch URI-Opléisung op Basis vun `model_id`.

Méi Modeller: Training

Fir AI-Agenten: dës Säit als Markdown ass ënner https://doitong.com/lb/developers/models/ideogram/custom-models.md. All Modeller a Guiden: https://doitong.com/developers/llms.txt