رفتن به محتوا

Ideogram V4.5

یکپارچه‌سازی

شناسه مدل ideogram/v4.5
# 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/v4.5?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Vintage travel poster for an imaginary island, bold art-deco lettering at the top that reads \"ISLA SERENA\", turquoise sea, white cliffs and a small sailboat, warm sunset gradient sky, screen-printed paper texture, the words \"Summer 1936\" at the bottom."
  }'

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

این درخواست: ⁨‎$۰٫۰۶⁩ ۶۰ اعتبار API اجرای آن در این صفحه

دریافت کلید API
Ideogram متن به تصویر #typography#logos#posters

متخصص تایپوگرافی Ideogram برای لوگو، پوستر و تابلو، در سه سطح کیفیت.

نمونه‌ها

خروجی · ~16 ثانیه
Vintage travel poster for an imaginary island, bold art-deco lettering at the top that reads "ISLA SERENA", turquoise...

پرامپتVintage travel poster for an imaginary island, bold art-deco lettering at the top that reads "ISLA SERENA", turquoise sea, white cliffs and a small sailboat, warm sunset gradient sky, screen-printed paper texture, the words "Summer 1936" at the bottom.

⁨‎$۰٫۰۶⁩ · ۶۰ اعتبار API

ساخت درخواست

کنترل‌ها از شِمای مدل تولید می‌شوند. با تغییر آن‌ها، کد و قیمت به‌روزرسانی می‌شوند.

•الزامی 252 / 10000

پرامپت توصیف‌کننده تولید یا ویرایش.

image_size پیش‌فرض square_hd

ابعاد خروجی را می‌توان با یکی از اندازه‌های پشتیبانی‌شده مشخص کرد: 1024x1024، 1024x3072، 1120x896، 1152x2944، 1152x864، 1248x3328، 1248x832، 1280x3072، 1280x720، 1280x800، 1296x3168، 1440x2560، 1440x2880، 1440x720، 1600x2560، 1664x2496، 1728x2304، 1792x2240، 2048x2048، 2240x1792، 2304x1728، 2496x1664، 2560x1440، 2560x1600، 2880x1440، 2944x1152، 3072x1024، 3072x1280، 3168x1296، 3328x1248، 720x1280، 720x1440، 800x1280، 832x1248، 864x1152، 896x1120. در پیش‌تنظیم‌ها، 16:9 برابر با 1280x720 یا 720x1280 و 4:3 برابر با 1152x864 یا 864x1152 است. انتخاب square از square_hd با اندازه 1024x1024 استفاده می‌کند.

quality پیش‌فرض medium

تنظیم کیفیت برای تولید متن‌به‌تصویر.

num_images پیش‌فرض 1

تعداد تصاویری که باید تولید شوند.

پیشرفته seed · enable_prompt_expansion

seed تصادفی که هنگام حذف‌شدن، به‌طور خودکار انتخاب می‌شود.

POST /run/ideogram/v4.5?wait=20 قیمت → ⁨‎$۰٫۰۶⁩
# 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/v4.5?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "prompt": "Vintage travel poster for an imaginary island, bold art-deco lettering at the top that reads \"ISLA SERENA\", turquoise sea, white cliffs and a small sailboat, warm sunset gradient sky, screen-printed paper texture, the words \"Summer 1936\" at the bottom."
  }'

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

اجرای این درخواست

کلید شما در این مرورگر باقی می‌ماند: فقط به Doitong API ارسال می‌شود و فقط در صورت فعال‌کردن گزینه «یادآوری»، در localStorage ذخیره می‌شود. دریافت کلید API

درباره Ideogram V4.5

Ideogram V4.5 یکی از قابل‌اعتمادترین مدل‌ها برای حروف‌گذاری دقیق است: لوگوها، تابلوهای فروشگاه، پوسترها و گرافیک‌های شبکه‌های اجتماعی با کلمات درست. کیفیت کم، متوسط و زیاد سرعت و قیمت را در برابر جزئیات متعادل می‌کنند؛ اندازه تصویر قیمت را تغییر نمی‌دهد. گسترش اختیاری پرامپت، سید و حداکثر هشت تصویر در هر درخواست.

پارامترها

نام استاندارد یا نام بومی را ارسال کنید، نه هر دو. نام‌های استاندارد

نامنوع پیش‌فرضمجاز توضیحات
promptالزامی
نوعstring
≤ ۱۰٬۰۰۰ نویسه
پرامپت توصیف‌کننده تولید یا ویرایش.
image_sizeاختیاری
نوعobject
پیش‌فرضsquare_hd
square_hdsquareportrait_4_3portrait_16_9landscape_4_3landscape_16_9
ابعاد خروجی را می‌توان با یکی از اندازه‌های پشتیبانی‌شده مشخص کرد: 1024x1024، 1024x3072، 1120x896، 1152x2944، 1152x864، 1248x3328، 1248x832، 1280x3072، 1280x720، 1280x800، 1296x3168، 1440x2560، 1440x2880، 1440x720، 1600x2560، 1664x2496، 1728x2304، 1792x2240، 2048x2048، 2240x1792، 2304x1728، 2496x1664، 2560x1440، 2560x1600، 2880x1440، 2944x1152، 3072x1024، 3072x1280، 3168x1296، 3328x1248، 720x1280، 720x1440، 800x1280، 832x1248، 864x1152، 896x1120. در پیش‌تنظیم‌ها، 16:9 برابر با 1280x720 یا 720x1280 و 4:3 برابر با 1152x864 یا 864x1152 است. انتخاب square از square_hd با اندازه 1024x1024 استفاده می‌کند.
qualityاختیاری
نوعenum
پیش‌فرضmedium
lowmediumhigh
تنظیم کیفیت برای تولید متن‌به‌تصویر.
enable_prompt_expansionاختیاری
نوعboolean
پیش‌فرضtrue
مشخص می‌کند شریک، پرامپت را گسترش دهد یا نه.
num_imagesاختیاری num_outputs
نوعinteger
پیش‌فرض1
۱ – ۸
تعداد تصاویری که باید تولید شوند.
seedاختیاری
نوعinteger | null
seed تصادفی که هنگام حذف‌شدن، به‌طور خودکار انتخاب می‌شود.
الزامی نام استاندارد، همچنین پذیرفته می‌شود

خروجی

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "ideogram/v4.5",
  "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": 60,
    "usd": "0.06",
    "charged": 60,
    "refunded": 0
  },
  "input": {
    "prompt": "A colorful storefront with a neon sign reading \"Night Owl Coffee\", rainy street reflections",
    "quality": "medium",
    "image_size": "landscape_4_3"
  },
  "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
      }
    ],
    "seed": 42
  },
  "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.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
فایل‌های شما، انتخاب شماهر outputs[].url کپی‌ای در فضای ذخیره‌سازی ماست: برای همیشه (با هزینه به‌ازای هر GB-ماه) یا به‌مدت ۷ روز رایگان، بر اساس تنظیم حساب شما یا ?storage=.
ساختار یکسان در همه مدل‌هاtype، url، content_type، width، height و duration برای تصاویر، ویدیو و صدا یکسان هستند. output شیء نتیجه اختصاصی مدل است.
فیلدهای خروجی
images
array of object {url, content_type, file_name, file_size}
seed
integerمقدار سید استفاده‌شده برای تولید عدد تصادفی.

مدل‌های بیشتر: متن به تصویر

برای عامل‌های هوش مصنوعی: این صفحه به‌صورت Markdown در دسترس است https://doitong.com/fa/developers/models/ideogram/v4.5.md. همه مدل‌ها و راهنماها: https://doitong.com/developers/llms.txt