รูปภาพRecraftใหม่

Recraft V3

เน้นการออกแบบพร้อมเอาต์พุตเวกเตอร์

model: "recraft-v3"

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

โหมด

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

โหมดเลือกโดยราคาทั่วไป
ข้อความเป็นรูปภาพprompt
ตัวอย่างคำขอ
{
  "model": "recraft-v3",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.040
แก้ไขรูปภาพimage_url
ตัวอย่างคำขอ
{
  "model": "recraft-v3",
  "input": {
    "prompt": "a lighthouse at dusk",
    "image_url": "https://example.com/image.jpg"
  }
}
$0.040

อินพุต

จำเป็น

Prompt

ไม่บังคับ

Size

ไม่บังคับ

Source image to edit or vary (https URL, or an upload URL from POST /v1/uploads). Leave it out to generate from the prompt alone.

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

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

ไม่บังคับ

Visual style preset.

ผลลัพธ์

Recraft V3ตัวอย่างผลลัพธ์

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

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "recraft-v3",
  "input": {
    "prompt": "Jeweler'\''s hands setting a pear-cut sapphire into a platinum claw mount under a raking bench lamp, fine tweezers gripping the stone as prongs are pressed flush, raking sidelight splitting the facets into electric blue and violet prisms, square macro craft composition, cool platinum and vivid sapphire palette, fine metal filings on the black velvet pad below, meditative precision"
  }
}'
Recraft V3 1Recraft V3 2Recraft V3 3Recraft V3 4Recraft V3 5Recraft V3 6