/fal-ai/flux-1/dev/image-to-image
概览
- 方法: POST
- 地址: https://api.winfull.cloud-ip.cc/fal-ai/flux-1/dev/image-to-image
- 简介: 官方文档: https://fal.ai/models/fal-ai/flux-1/dev/image-to-image
认证
- Header: Authorization: Bearer
<token>
请求参数
- Header: Authorization: Bearer
<token> - Body 类型: application/json
{
"image_url": "https://fal.media/files/koala/Chls9L2ZnvuipUTEwlnJC.png",
"strength": 0.95,
"num_inference_steps": 40,
"prompt": "A cat dressed as a wizard with a background of a mystic forest.",
"guidance_scale": 3.5,
"num_images": 1,
"enable_safety_checker": true,
"output_format": "jpeg",
"acceleration": "regular"
}请求示例
curl --location --request POST 'https://api.winfull.cloud-ip.cc/fal-ai/flux-1/dev/image-to-image' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"image_url": "https://fal.media/files/koala/Chls9L2ZnvuipUTEwlnJC.png",
"strength": 0.95,
"num_inference_steps": 40,
"prompt": "A cat dressed as a wizard with a background of a mystic forest.",
"guidance_scale": 3.5,
"num_images": 1,
"enable_safety_checker": true,
"output_format": "jpeg",
"acceleration": "regular"
}'返回示例
🟢200成功 示例
{
"status": "IN_QUEUE",
"request_id": "acf05732-7cb3-445b-9f39-fdaeccb1d730",
"response_url": "https://queue.fal.run/fal-ai/flux-pro/requests/acf05732-7cb3-445b-9f39-fdaeccb1d730",
"status_url": "https://queue.fal.run/fal-ai/flux-pro/requests/acf05732-7cb3-445b-9f39-fdaeccb1d730/status",
"cancel_url": "https://queue.fal.run/fal-ai/flux-pro/requests/acf05732-7cb3-445b-9f39-fdaeccb1d730/cancel",
"logs": null,
"metrics": {},
"queue_position": 0
}最后更新:2025-09-23 13:48:45
