ਸਮੱਗਰੀ ਵੱਲ ਜਾਓ

Ideogram · Custom Models

ਇੰਟੀਗ੍ਰੇਟ ਕਰੋ

ਮਾਡਲ 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.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"

ਇਹ ਬੇਨਤੀ: $40.00 40,000 API ਕ੍ਰੈਡਿਟ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Ideogram ਟ੍ਰੇਨਿੰਗ #stylized#transform

10-100 ਚਿੱਤਰਾਂ ਵਾਲੀ ZIP ਤੋਂ ਕਸਟਮ Ideogram ਮਾਡਲ ਨੂੰ ਟ੍ਰੇਨ ਕਰਦਾ ਹੈ

Ideogram · ਫ਼ਾਈਲ

ਤੁਹਾਡਾ ਪਹਿਲਾ ਨਤੀਜਾ ਇੱਥੇ ਹੋਵੇਗਾ

ਹੇਠਾਂ ਬੇਨਤੀ ਬਣਾਓ ਅਤੇ ਆਪਣੀ API ਕੁੰਜੀ ਨਾਲ ਚਲਾਓ। ਆਉਟਪੁੱਟ ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਕਾਪੀ ਕੀਤੇ ਜਾਂਦੇ ਹਨ ਅਤੇ ਹਮੇਸ਼ਾ ਲਈ ਜਾਂ ਮੁਫ਼ਤ ਵਿੱਚ 7 ਦਿਨ ਤੱਕ ਰੱਖੇ ਜਾਂਦੇ ਹਨ।

ਰਿਕਵੈਸਟ ਬਣਾਓ

ਕੰਟਰੋਲ ਮਾਡਲ ਸਕੀਮਾ ਤੋਂ ਤਿਆਰ ਹੁੰਦੇ ਹਨ। ਤੁਸੀਂ ਬਦਲਾਅ ਕਰਦੇ ਹੀ ਕੋਡ ਅਤੇ ਕੀਮਤ ਅੱਪਡੇਟ ਹੋ ਜਾਂਦੇ ਹਨ।

•ਲੋੜੀਂਦਾ

ZIP URL ਰਾਹੀਂ ਟ੍ਰੇਨਿੰਗ ਡੇਟਾ ਦਿਓ, ਜਿਸ ਵਿੱਚ 10 ਤੋਂ 100 JPEG, PNG ਜਾਂ WebP ਚਿੱਤਰ ਹੋਣ। ਕੈਪਸ਼ਨਾਂ ਨਾਲ ਟ੍ਰੇਨਿੰਗ ਦਾ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਲਈ ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ ``<stem>.txt`` ਸਾਈਡਕਾਰ ਫ਼ਾਈਲਾਂ ਸ਼ਾਮਲ ਕਰੋ; ਮਿਲਾਨ ਹਰ ਚਿੱਤਰ ਅਤੇ ਕੈਪਸ਼ਨ ਦੇ ਸਾਂਝੇ ਫ਼ਾਈਲਨਾਮ `<stem>` ਰਾਹੀਂ ਹੁੰਦਾ ਹੈ।

POST /run/ideogram/custom-models?wait=20 ਕੋਟ → $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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

ਤੁਹਾਡੀ key ਇਸ ਬ੍ਰਾਊਜ਼ਰ ਵਿੱਚ ਰਹਿੰਦੀ ਹੈ: ਇਹ ਸਿਰਫ਼ Doitong API ਨੂੰ ਭੇਜੀ ਜਾਂਦੀ ਹੈ ਅਤੇ ਸਿਰਫ਼ ਤਾਂ ਹੀ (localStorage) ਵਿੱਚ ਸੁਰੱਖਿਅਤ ਹੁੰਦੀ ਹੈ ਜੇ ਤੁਸੀਂ Remember ਚੁਣੋ। API ਕੁੰਜੀ ਪ੍ਰਾਪਤ ਕਰੋ

Ideogram · Custom Models ਬਾਰੇ

ਟ੍ਰੇਨਿੰਗ ਐਂਡਪੋਇੰਟ ਜੋ `images_data_url` ਲੈਂਦਾ ਹੈ—10 ਤੋਂ 100 JPEG, PNG ਜਾਂ WebP ਚਿੱਤਰਾਂ ਵਾਲਾ ZIP ਆਰਕਾਈਵ। ਟ੍ਰੇਨਿੰਗ ਦਾ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਲਈ `<stem>.txt` ਨਾਮ ਵਾਲੀਆਂ ਵਿਕਲਪਿਕ ਕੈਪਸ਼ਨ ਫ਼ਾਈਲਾਂ ਸ਼ਾਮਲ ਕੀਤੀਆਂ ਜਾ ਸਕਦੀਆਂ ਹਨ। generate ਐਂਡਪੋਇੰਟ ਲਈ `model_id` ਅਤੇ ਕਸਟਮ ਮਾਡਲ URI ਵਾਪਸ ਕਰਦਾ ਹੈ।

ਪੈਰਾਮੀਟਰ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
images_data_urlਲੋੜੀਂਦਾ
ਕਿਸਮstring
ZIP URL ਰਾਹੀਂ ਟ੍ਰੇਨਿੰਗ ਡੇਟਾ ਦਿਓ, ਜਿਸ ਵਿੱਚ 10 ਤੋਂ 100 JPEG, PNG ਜਾਂ WebP ਚਿੱਤਰ ਹੋਣ। ਕੈਪਸ਼ਨਾਂ ਨਾਲ ਟ੍ਰੇਨਿੰਗ ਦਾ ਮਾਰਗਦਰਸ਼ਨ ਕਰਨ ਲਈ ਵਿਕਲਪਿਕ ਤੌਰ 'ਤੇ ``<stem>.txt`` ਸਾਈਡਕਾਰ ਫ਼ਾਈਲਾਂ ਸ਼ਾਮਲ ਕਰੋ; ਮਿਲਾਨ ਹਰ ਚਿੱਤਰ ਅਤੇ ਕੈਪਸ਼ਨ ਦੇ ਸਾਂਝੇ ਫ਼ਾਈਲਨਾਮ `<stem>` ਰਾਹੀਂ ਹੁੰਦਾ ਹੈ।
ਲੋੜੀਂਦਾ

ਆਉਟਪੁੱਟ

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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
model_id
string/generate ਨੂੰ ਦੇਣ ਲਈ Ideogram ਮਾਡਲ ਪਛਾਣਕਰਤਾ।
custom_model_uri
stringIdeogram v3 ਦੇ ਜਨਤਕ ਸਿਰਜਣਾ ਰੂਟ 'ਤੇ `custom_model_uri` ਰਾਹੀਂ ਸਿੱਧੀਆਂ ਕਾਲਾਂ ਲਈ ਉਪਲਬਧ ਟ੍ਰੇਨ ਕੀਤਾ ਮਾਡਲ URI। `/generate` ਵਰਤਣ ਵਾਲੀਆਂ ਕਾਲਾਂ ਨੂੰ ਇਸ ਦੀ ਬਜਾਏ `model_id` ਦੇ ਆਧਾਰ 'ਤੇ ਸਵੈਚਲਿਤ URI ਰੈਜ਼ੋਲਿਊਸ਼ਨ ਮਿਲਦਾ ਹੈ।

ਹੋਰ ਮਾਡਲ: ਟ੍ਰੇਨਿੰਗ

AI ਏਜੰਟਾਂ ਲਈ: ਇਹ ਪੰਨਾ Markdown ਵਜੋਂ ਇੱਥੇ ਹੈ https://doitong.com/pa/developers/models/ideogram/custom-models.md. ਸਾਰੇ ਮਾਡਲ ਅਤੇ ਗਾਈਡ: https://doitong.com/developers/llms.txt