Peke ki ngā ihirangi

Ideogram · Custom Models

Whakauru

id tauira 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.com/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.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Tēnei tono: $ 40.00 40,000 whiwhinga API Whakahaerehia ki tēnei whārangi

Tikina he kī API
Ideogram Whakangungu #stylized#transform

Ka whakangungu i tētahi tauira Ideogram ritenga mai i tētahi ZIP 10-100 whakaahua

Ideogram · 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

Tuku raraunga whakangungu mā te URL ZIP, me 10 ki te 100 ngā atahanga JPEG, PNG, WebP rānei kei roto. Hei ārahi i te whakangungu mā ngā tapanga, ka taea te tāpiri i ngā kōnae taha ``<stem>.txt``; ka ōrite mā te ingoa kōnae tiritahi `<stem>` o ia atahanga me tōna tapanga.

POST /run/ideogram/custom-models?wait=20 utu → $ 40.00
# 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/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.com/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ō Ideogram · Custom Models

He pito mutunga whakangungu e tango ana i `images_data_url`, he pūranga ZIP 10 ki te 100 whakaahua JPEG, PNG, WebP rānei. Ka taea te whakauru i ngā kōnae tapanga kōwhiringa ko `<stem>.txt` te ingoa hei ārahi i te whakangungu. Ka whakahoki i tētahi `model_id` me te URI tauira ritenga mō te pito mutunga generate.

Ngā tawhā

IngoaMomo TaunoaE whakaaetia ana Whakamārama
images_data_urle hiahiatia ana
Momostring
Tuku raraunga whakangungu mā te URL ZIP, me 10 ki te 100 ngā atahanga JPEG, PNG, WebP rānei kei roto. Hei ārahi i te whakangungu mā ngā tapanga, ka taea te tāpiri i ngā kōnae taha ``<stem>.txt``; ka ōrite mā te ingoa kōnae tiritahi `<stem>` o ia atahanga me tōna tapanga.
e hiahiatia ana

Putanga

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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/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
model_id
stringTautuhinga tauira Ideogram hei tuku ki /generate.
custom_model_uri
stringURI tauira kua whakangungua, ka whakaaturia mō ngā karanga tika ki te ara whakaputa tūmatanui a Ideogram v3 mā `custom_model_uri`. Ko ngā kaiwhakara mā `/generate` ka whiwhi i te whakataunga URI aunoa e hāngai ana ki `model_id`.

Ētahi atu tauira: Whakangungu

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