Skip to content

图像生成

概览

认证

  • Header: Authorization: Bearer <token>

请求参数

  • Header: Authorization: Bearer <token>
  • Body 类型: application/json
{
    "model_name": "kling-v1",
    "prompt": "生成一张海边的图",
    "negative_prompt": "",
    "image": "",
    "image_reference": "",
    "image_fidelity": "0.5",
    "human_fidelity": 0.45,
    "resolution": "1k",
    "n": 1,
    "aspect_ratio": "16:9",
    "callback_url": ""
}

请求示例

curl --location --request POST 'https://api.winfull.cloud-ip.cc/kling/v1/images/generations' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "model_name": "kling-v1",
    "prompt": "生成一张海边的图",
    "negative_prompt": "",
    "image": "",
    "image_reference": "",
    "image_fidelity": "0.5",
    "human_fidelity": 0.45,
    "resolution": "1k",
    "n": 1,
    "aspect_ratio": "16:9",
    "callback_url": ""
}'

返回示例

🟢200成功 示例

{}

最后更新:2025-12-18 09:23:13

🚀 伝富AI-API文档 - 强大的AI接口平台