ข้ามไปยังเนื้อหา

Ideogram V4.5

ผสานการทำงาน

ID โมเดล 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"

คำขอนี้: $0.06 60 เครดิต API เรียกใช้ในหน้านี้

รับคีย์ API
Ideogram ข้อความเป็นภาพ #typography#logos#posters

ผู้เชี่ยวชาญด้านตัวอักษรของ Ideogram สำหรับโลโก้ โปสเตอร์ และป้าย ในระดับคุณภาพ 3 ระดับ

ตัวอย่าง

เอาต์พุต · ~16 s
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.

$0.06 · 60 เครดิต 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_hd ที่ 1024x1024 แทน

quality ค่าเริ่มต้น medium

การตั้งค่าคุณภาพสำหรับการสร้างรูปภาพจากข้อความ

num_images ค่าเริ่มต้น 1

จำนวนรูปภาพที่จะสร้าง

ขั้นสูง seed · enable_prompt_expansion

ซีดสุ่ม ซึ่งระบบจะเลือกโดยอัตโนมัติเมื่อไม่ได้ระบุ

POST /run/ideogram/v4.5?wait=20 ใบเสนอราคา → $0.06
# 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
≤ 10,000 อักขระ
พรอมต์ที่อธิบายการสร้างหรือการแก้ไข
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_hd ที่ 1024x1024 แทน
qualityไม่บังคับ
ประเภทenum
ค่าเริ่มต้นmedium
lowmediumhigh
การตั้งค่าคุณภาพสำหรับการสร้างรูปภาพจากข้อความ
enable_prompt_expansionไม่บังคับ
ประเภทboolean
ค่าเริ่มต้นtrue
ควบคุมว่าพาร์ทเนอร์จะขยายพรอมต์หรือไม่
num_imagesไม่บังคับ num_outputs
ประเภทinteger
ค่าเริ่มต้น1
1 – 8
จำนวนรูปภาพที่จะสร้าง
seedไม่บังคับ
ประเภทinteger | null
ซีดสุ่ม ซึ่งระบบจะเลือกโดยอัตโนมัติเมื่อไม่ได้ระบุ
จำเป็น ชื่อมาตรฐาน ซึ่งรองรับเช่นกัน

เอาต์พุต

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-เดือน) หรือฟรี 7 วัน โดยกำหนดได้ในการตั้งค่าบัญชีหรือ ?storage=
รูปแบบเดียวกันในทุกโมเดลtype, url, content_type, width, height และ duration สำหรับภาพ วิดีโอ และเสียงเหมือนกันทั้งหมด ส่วน output คือออบเจ็กต์ผลลัพธ์ของโมเดลเอง
ฟิลด์ของเอาต์พุต
images
array of object {url, content_type, file_name, file_size}
seed
integerค่า seed ที่ใช้สำหรับการสร้างตัวเลขสุ่ม

โมเดลเพิ่มเติม: ข้อความเป็นภาพ

สำหรับเอเจนต์ AI: หน้า Markdown นี้อยู่ที่ https://doitong.com/th/developers/models/ideogram/v4.5.md. โมเดลและคู่มือทั้งหมด: https://doitong.com/developers/llms.txt