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

Ideogram V4.0q [instant]

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

ਮਾਡਲ id ideogram/v4/instant
# 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/instant?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

ਉਦਾਹਰਨ ਵਰਗੀਆਂ ਫ਼ਾਈਲਾਂ: $0.008 8 API ਕ੍ਰੈਡਿਟ · ≈ ₽0.84 ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ ਚਲਾਉਣ ਤੋਂ ਪਹਿਲਾਂ ਮਾਪੀਆਂ ਜਾਂਦੀਆਂ ਹਨ ਇਸ ਪੰਨੇ ’ਤੇ ਚਲਾਓ

API ਕੁੰਜੀ ਲਵੋ
Ideogram ਟੈਕਸਟ ਤੋਂ ਚਿੱਤਰ #realism#typography#stylized

Ideogram V4.0q ਦਾ ਸਭ ਤੋਂ ਤੇਜ਼ text-to-image ਰੂਪ, ਪੜ੍ਹਨਯੋਗ ਟੈਕਸਟ ਅਤੇ ਘੱਟੋ-ਘੱਟ ਪੈਰਾਮੀਟਰ ਸੈੱਟ ਨਾਲ

Ideogram · ਚਿੱਤਰ

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

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

ਰਿਕਵੈਸਟ ਬਣਾਓ

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

•ਲੋੜੀਂਦਾ

ਚਿੱਤਰ ਸਿਰਜਣਾ ਨੂੰ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।

image_size ਡਿਫ਼ਾਲਟ square_hd

ਬਣਾਏ ਜਾ ਰਹੇ ਚਿੱਤਰ ਲਈ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।

num_images ਡਿਫ਼ਾਲਟ 1

ਤਿਆਰ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਚਿੱਤਰਾਂ ਦੀ ਗਿਣਤੀ।

ਉੱਨਤ expansion_model · output_format · seed · enable_safety_checker
expansion_model ਡਿਫ਼ਾਲਟ Medium

ਪ੍ਰੌਂਪਟ ਵਿਸਤਾਰ ਦੀ ਚੋਣ, ਜਿਸ ਵਿੱਚ 'Medium' ਰਾਹੀਂ fast magic ਪ੍ਰੌਂਪਟ ਮਾਡਲ ਮਿਲਦਾ ਹੈ ਜਾਂ 'None' ਰਾਹੀਂ ਕੋਈ ਵਿਸਤਾਰ ਨਹੀਂ ਹੁੰਦਾ।

output_format ਡਿਫ਼ਾਲਟ jpeg

ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਦਾ ਫ਼ਾਈਲ ਫਾਰਮੈਟ।

ਸਿਰਜਣਾ ਲਈ ਸੀਡ, ਜਦੋਂ ਤੱਕ ਤੁਸੀਂ ਮੁੱਲ ਨਾ ਦਿਓ, ਬੇਤਰਤੀਬੇ ਤੌਰ 'ਤੇ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।

POST /run/ideogram/v4/instant?wait=20 ਕੋਟ → $0.008
# 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/instant?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# 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"

ਇਹ ਬੇਨਤੀ ਚਲਾਓ

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

Ideogram V4.0q [instant] ਬਾਰੇ

ਪੜ੍ਹਨਯੋਗ ਟੈਕਸਟ ਵਾਲੇ ਪੋਸਟਰਾਂ, ਲੋਗੋਆਂ ਅਤੇ ਡਿਜ਼ਾਈਨਾਂ ਲਈ ਇੱਕ ਸਰਲ ਟੈਕਸਟ-ਟੂ-ਚਿੱਤਰ ਮਾਡਲ। ਇਨਪੁੱਟ ਸਿਰਫ਼ ਪ੍ਰੌਂਪਟ, ਛੇ ਪ੍ਰੀਸੈਟਾਂ ਵਾਲਾ `image_size`, 1 ਤੋਂ 4 ਤੱਕ `num_images`, `seed` ਅਤੇ jpeg ਜਾਂ png ਆਉਟਪੁੱਟ ਤੱਕ ਸੀਮਿਤ ਹਨ। `expansion_model` ਸਿਰਫ਼ None ਜਾਂ Medium ਹੋ ਸਕਦਾ ਹੈ। ਇਸ ਵਿੱਚ ਰੈਂਡਰਿੰਗ ਸਪੀਡ ਜਾਂ LoRA ਵਿਕਲਪ ਨਹੀਂ ਹਨ।

ਪੈਰਾਮੀਟਰ

ਕੈਨੋਨਿਕਲ ਨਾਮ ਜਾਂ ਨੇਟਿਵ ਨਾਮ ਵਿੱਚੋਂ ਕੋਈ ਇੱਕ ਭੇਜੋ, ਦੋਵੇਂ ਨਹੀਂ। ਕੈਨੋਨਿਕਲ ਨਾਮ

ਨਾਮਕਿਸਮ ਡਿਫ਼ਾਲਟਮਨਜ਼ੂਰਸ਼ੁਦਾ ਵੇਰਵਾ
promptਲੋੜੀਂਦਾ
ਕਿਸਮstring
ਚਿੱਤਰ ਸਿਰਜਣਾ ਨੂੰ ਦਿਸ਼ਾ ਦੇਣ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।
expansion_modelਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟMedium
NoneMedium
ਪ੍ਰੌਂਪਟ ਵਿਸਤਾਰ ਦੀ ਚੋਣ, ਜਿਸ ਵਿੱਚ 'Medium' ਰਾਹੀਂ fast magic ਪ੍ਰੌਂਪਟ ਮਾਡਲ ਮਿਲਦਾ ਹੈ ਜਾਂ 'None' ਰਾਹੀਂ ਕੋਈ ਵਿਸਤਾਰ ਨਹੀਂ ਹੁੰਦਾ।
image_sizeਵਿਕਲਪਿਕ
ਕਿਸਮobject
ਡਿਫ਼ਾਲਟsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ਬਣਾਏ ਜਾ ਰਹੇ ਚਿੱਤਰ ਲਈ ਰੈਜ਼ੋਲਿਊਸ਼ਨ।
num_imagesਵਿਕਲਪਿਕ num_outputs
ਕਿਸਮinteger
ਡਿਫ਼ਾਲਟ1
1 – 4
ਤਿਆਰ ਕੀਤੇ ਜਾਣ ਵਾਲੇ ਚਿੱਤਰਾਂ ਦੀ ਗਿਣਤੀ।
seedਵਿਕਲਪਿਕ
ਕਿਸਮinteger | null
ਸਿਰਜਣਾ ਲਈ ਸੀਡ, ਜਦੋਂ ਤੱਕ ਤੁਸੀਂ ਮੁੱਲ ਨਾ ਦਿਓ, ਬੇਤਰਤੀਬੇ ਤੌਰ 'ਤੇ ਚੁਣਿਆ ਜਾਂਦਾ ਹੈ।
enable_safety_checkerਵਿਕਲਪਿਕ
ਕਿਸਮboolean
ਡਿਫ਼ਾਲਟtrue
ਸੁਰੱਖਿਆ ਜਾਂਚ ਸਵਿੱਚ, ਜਿਸ ਦੀ ਬੰਦ ਸੈਟਿੰਗ ਲਈ ਖਾਤਾ ਅਧਿਕਾਰ ਲੋੜੀਂਦਾ ਹੈ। ਇਸ ਅਧਿਕਾਰ ਤੋਂ ਬਿਨਾਂ ਸੈਟਿੰਗ ਦੀ ਪਰਵਾਹ ਕੀਤੇ ਬਿਨਾਂ ਹਰ ਬੇਨਤੀ ਦੀ ਜਾਂਚ ਕੀਤੀ ਜਾਂਦੀ ਹੈ; true ਜਾਂਚਕਰਤਾ ਨੂੰ ਸਮਰੱਥ ਕਰਦਾ ਹੈ।
output_formatਵਿਕਲਪਿਕ
ਕਿਸਮenum
ਡਿਫ਼ਾਲਟjpeg
jpegpng
ਨਤੀਜੇ ਵਾਲੇ ਚਿੱਤਰ ਦਾ ਫ਼ਾਈਲ ਫਾਰਮੈਟ।
ਲੋੜੀਂਦਾ ਕੈਨੋਨਿਕਲ ਨਾਮ, ਇਹ ਵੀ ਸਵੀਕਾਰਿਆ ਜਾਂਦਾ ਹੈ

ਆਉਟਪੁੱਟ

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v4/instant",
  "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": 8,
    "usd": "0.008",
    "charged": 8,
    "refunded": 0
  },
  "input": {
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "images": [
      {
        "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,
        "width": 1024,
        "height": 768
      }
    ],
    "timings": {},
    "seed": 42,
    "has_nsfw_concepts": [
      false
    ],
    "prompt": "string"
  },
  "outputs": [
    {
      "type": "image",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.jpeg",
      "content_type": "image/jpeg",
      "file_size": 1843200,
      "width": 1024,
      "height": 768,
      "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"
  }
}
ਤੁਹਾਡੀਆਂ ਫ਼ਾਈਲਾਂ, ਤੁਹਾਡੀ ਚੋਣਹਰ outputs[].url ਸਾਡੇ ਸਟੋਰੇਜ ਵਿੱਚ ਇੱਕ ਕਾਪੀ ਹੈ: ਹਮੇਸ਼ਾ ਲਈ ਰੱਖੀ ਜਾਂਦੀ ਹੈ (ਪ੍ਰਤੀ GB-ਮਹੀਨਾ ਭੁਗਤਾਨ) ਜਾਂ 7 ਦਿਨ ਤੱਕ ਮੁਫ਼ਤ, ਤੁਹਾਡੀ ਖਾਤਾ ਸੈਟਿੰਗ ਜਾਂ ?storage= ਅਨੁਸਾਰ।
ਹਰ ਮਾਡਲ ’ਤੇ ਇੱਕੋ ਜਿਹਾ ਰੂਪਤਸਵੀਰਾਂ, ਵੀਡੀਓ ਅਤੇ ਆਡੀਓ ਸਭ ਲਈ type, url, content_type, width, height ਅਤੇ duration। output ਮਾਡਲ ਦਾ ਆਪਣਾ ਨਤੀਜਾ ਆਬਜੈਕਟ ਹੈ।
ਆਉਟਪੁੱਟ ਦੇ ਫ਼ੀਲਡ
images
array of object {url, content_type, file_name, file_size, width, height}ਮਾਡਲ ਦੁਆਰਾ ਤਿਆਰ ਕੀਤੇ ਚਿੱਤਰ।
timings
object
seed
integerਚਿੱਤਰ-ਸਿਰਜਣਾ ਸੀਡ, ਜਿਸ ਵਿੱਚ ਇਨਪੁੱਟ ਵਿੱਚ ਸੀਡ ਨਾ ਦੇਣ 'ਤੇ ਬੇਤਰਤੀਬ ਚੁਣੀ ਗਈ ਕੀਮਤ ਸ਼ਾਮਲ ਹੁੰਦੀ ਹੈ; ਨਹੀਂ ਤਾਂ ਦਿੱਤੀ ਕੀਮਤ ਦੁਹਰਾਈ ਜਾਂਦੀ ਹੈ।
has_nsfw_concepts
array of booleanਦੱਸਦਾ ਹੈ ਕਿ ਸਿਰਜੇ ਗਏ ਚਿੱਤਰਾਂ ਵਿੱਚ NSFW ਧਾਰਨਾਵਾਂ ਮੌਜੂਦ ਹਨ ਜਾਂ ਨਹੀਂ।
prompt
stringਚਿੱਤਰ ਸਿਰਜਣਾ ਦੌਰਾਨ ਵਰਤਿਆ ਜਾਣ ਵਾਲਾ ਪ੍ਰੌਂਪਟ।

ਹੋਰ ਮਾਡਲ: ਟੈਕਸਟ ਤੋਂ ਚਿੱਤਰ

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