Skip to content

创建任务 riffusion/riffusion

概览

认证

  • Header: Authorization: Bearer <token>

请求参数

  • Header: Authorization: Bearer <token>
  • Body 类型: application/json
{
    "version": "8cf61ea6c56afd61d8f5b9ffd14d7c216c0a93844ce2d82ac1c9ecc9c7f24e05",
    "input": {
      "alpha": 0.5,
      "prompt_a": "funky synth solo",
      "prompt_b": "90's rap",
      "denoising": 0.75,
      "seed_image_id": "vibes",
      "num_inference_steps": 50
    }
  }

请求示例

curl --location --request POST 'https://api.winfull.cloud-ip.cc/replicate/v1/models/riffusion/riffusion/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "version": "8cf61ea6c56afd61d8f5b9ffd14d7c216c0a93844ce2d82ac1c9ecc9c7f24e05",
    "input": {
      "alpha": 0.5,
      "prompt_a": "funky synth solo",
      "prompt_b": "90'\''s rap",
      "denoising": 0.75,
      "seed_image_id": "vibes",
      "num_inference_steps": 50
    }
  }'

返回示例

🟢200成功 示例

{
    "created": 1589478378,
    "data": [
        {
            "url": "https://..."
        },
        {
            "url": "https://..."
        }
    ]
}

最后更新:2025-08-01 07:40:39

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