รูปภาพBlack Forest Labs

Style Transfer

ทำให้รูปภาพมีสไตล์ใหม่จากข้อความค้น ในขณะที่รักษาองค์ประกอบไว้

model: "style-transfer"

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

โหมด

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

โหมดเลือกโดยราคาทั่วไป
รูปภาพเข้า รูปภาพออกimage_url
ตัวอย่างคำขอ
{
  "model": "style-transfer",
  "input": {
    "image_url": "https://example.com/image.jpg"
  }
}
$0.060

การทำงานจริง

นี่คือผลลัพธ์จริงของเครื่องมือบนรูปภาพข้างๆ ด้านล่างจะเปิด พื้นที่ทดลอง บนอินพุตเดียวกัน เพื่อให้คุณสามารถรันได้ด้วยตัวเอง

Style Transfer: ก่อน
ก่อน
Style Transfer: หลัง
หลัง

อินพุต

ไม่บังคับ

The style to apply.

จำเป็น

The image to work on (https URL, or an upload URL from POST /v1/uploads).. A public https URL, or an upload URL from POST /v1/uploads.

ไม่บังคับ
0.65

0 keeps the original; 1 follows the prompt fully.

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

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

ไม่บังคับ

Faster inference at a small cost in detail.

ไม่บังคับ
-

How strictly the model follows the prompt. Higher is more literal.

ไม่บังคับ
-

Denoising steps. More is slower and can add detail.

ไม่บังคับ

File format of the result.

ไม่บังคับ

Random seed. The same seed and input reproduce the same result.

ผลลัพธ์

Style Transferตัวอย่างผลลัพธ์

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

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "style-transfer",
  "input": {
    "image_url": "https://assets.arteza.ai/generations/6d82f9c2-c1a0-4ad0-9b3e-96a532c1748d/babdfe77-4b1f-47a5-b168-02ca5830abb6/0.jpg",
    "prompt": "watercolor painting"
  }
}'
Style Transfer 1Style Transfer 2