Authorization: Bearer ********************
hd
创建具有更精细细节和更高一致性的图像。此参数仅支持dall-e-3
.vivid
之一natural
。生动使模型倾向于生成超真实和戏剧性的图像。自然使模型生成更自然、不太真实的图像。此参数仅支持dall-e-3
.{
"version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574",
"input": {
"prompt": "a beautiful castle frstingln illustration",
"hf_lora": "alvdansen/frosting_lane_flux",
"lora_scale": 0.8,
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"output_quality": 80,
"prompt_strength": 0.8,
"num_inference_steps": 4
}
}
curl --location --request POST 'https://yunwu.ai/replicate/v1/predictions' \
--header 'Authorization: Bearer sk-4r9RQTBFtS1DzJkB0dTisGz9oB6QLbisTyODJMx64nQifsq0' \
--header 'Content-Type: application/json' \
--data-raw '{
"version": "2a6b576af31790b470f0a8442e1e9791213fa13799cbb65a9fc1436e96389574",
"input": {
"prompt": "a beautiful castle frstingln illustration",
"hf_lora": "alvdansen/frosting_lane_flux",
"lora_scale": 0.8,
"num_outputs": 1,
"aspect_ratio": "1:1",
"output_format": "webp",
"output_quality": 80,
"prompt_strength": 0.8,
"num_inference_steps": 4
}
}'
{
"created": 1589478378,
"data": [
{
"url": "https://..."
},
{
"url": "https://..."
}
]
}