รูปภาพxAIใหม่

Grok Imagine Image

การสร้างภาพ xAI ที่แสดงออก ความละเอียด 2K โดยไม่มีค่าใช้จ่ายเพิ่มเติม

model: "grok-imagine-image"

เอกสาร APIเอกสารสำหรับตัวแทน

โหมด

ID โมเดลเดียว ทุกโหมดด้านล่าง ฟิลด์ที่คุณส่งจะเลือกโหมด และราคาจะตามไปด้วยโหมด

โหมดเลือกโดยราคาทั่วไป
ข้อความเป็นรูปภาพprompt
ตัวอย่างคำขอ
{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.020

อินพุต

จำเป็น

Prompt

ไม่บังคับ

Aspect Ratio

ไม่บังคับ

Resolution

ตัวเลือกขั้นสูง (1)

การตั้งค่าผู้ให้บริการเกินกว่าการควบคุมหลัก ปล่อยให้ว่างเพื่อใช้ค่าเริ่มต้นของโมเดล

ไม่บังคับ

File format of the result.

ผลลัพธ์

Grok Imagine Imageตัวอย่างผลลัพธ์

ผลลัพธ์จริงจากโมเดลนี้ เรียกใช้เพื่อดูผลของคุณที่นี่

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "grok-imagine-image",
  "input": {
    "prompt": "Tornado funnel touching down on an empty Nebraska cornfield at golden hour, a ragged rope condensation column backlit by the low sun to a translucent amber, surrounding sky a deep bruised green-violet, wide horizontal cinematic weather drama, rows of flattened corn radiating outward from the contact point, photorealistic atmospheric turbulence, no people, elemental and terrifying scale"
  }
}'
Grok Imagine Image 1Grok Imagine Image 2Grok Imagine Image 3Grok Imagine Image 4Grok Imagine Image 5Grok Imagine Image 6