图像Recraft新增

Recraft V4

最新Recraft,设计级细节

model: "recraft-v4"

API 文档代理文档

模式

一个模型ID,支持下列所有模式。您发送的字段决定模式,价格随模式而定。

模式选择方式典型价格
文本生成图像prompt
请求示例
{
  "model": "recraft-v4",
  "input": {
    "prompt": "a lighthouse at dusk"
  }
}
$0.040

输入

必需

Prompt

可选

Size

结果

Recraft V4示例输出

该模型的真实结果。运行它可在此处查看您的输出。

curl https://arteza.ai/api/v1/generations \
  -H "Authorization: Bearer $ARTEZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "recraft-v4",
  "input": {
    "prompt": "Cellist mid-performance in an empty baroque concert hall, bow drawn at the apex of a fortissimo passage, instrument body and varnish glowing honey amber under a tight single overhead spot, surrounding gilded plasterwork dissolving into deep shadow, vertical portrait composition, warm sienna and black palette, shallow focus on the moving bow hair, fine rosin dust suspended in the beam"
  }
}'
Recraft V4 1Recraft V4 2Recraft V4 3Recraft V4 4Recraft V4 5Recraft V4 6