Skip to content

创建任务 andreasjansson/stable-diffusion-animation

POST https://aiapi.winfull.top/replicate/v1/predictions 官方文档:https://replicate.com/andreasjansson/stable-diffusion-animation

请求参数

Authorization 在 Header 添加参数 Authorization ,其值为在 Bearer 之后拼接 Token 示例: Authorization: Bearer ******************** Header 参数 生成代码 Body 参数application/json 生成代码 示例

{
    "version": "andreasjansson/stable-diffusion-animation:ca1f5e306e5721e19c473e0d094e6603f0456fe759c10715fcd6c1b79242d4a5",
    "input": {
      "width": 512,
      "height": 512,
      "prompt_end": "tall rectangular black monolith, a white room in the future with a bed, victorian details and a tall black monolith, a detailed matte painting by Wes Anderson, behance, light and space, reimagined by industrial light and magic, matte painting, criterion collection",
      "prompt_start": "tall rectangular black monolith, monkeys in the desert looking at a large tall monolith, a detailed matte painting by Wes Anderson, behance, light and space, reimagined by industrial light and magic, matte painting, criterion collection",
      "gif_ping_pong": true,
      "output_format": "mp4",
      "guidance_scale": 7.5,
      "prompt_strength": 0.9,
      "film_interpolation": true,
      "intermediate_output": false,
      "num_inference_steps": 50,
      "num_animation_frames": 25,
      "gif_frames_per_second": 20,
      "num_interpolation_steps": 5
    }
  }

请求示例代码

Shell JavaScript Java Swift Go PHP Python HTTP C C# Objective-C Ruby OCaml Dart R 请求示例请求示例 Shell JavaScript Java Swift cURLcURL-WindowsHttpiewgetPowerShell

curl --location --request POST 'https://aiapi.winfull.top/replicate/v1/predictions' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "version": "andreasjansson/stable-diffusion-animation:ca1f5e306e5721e19c473e0d094e6603f0456fe759c10715fcd6c1b79242d4a5",
    "input": {
      "width": 512,
      "height": 512,
      "prompt_end": "tall rectangular black monolith, a white room in the future with a bed, victorian details and a tall black monolith, a detailed matte painting by Wes Anderson, behance, light and space, reimagined by industrial light and magic, matte painting, criterion collection",
      "prompt_start": "tall rectangular black monolith, monkeys in the desert looking at a large tall monolith, a detailed matte painting by Wes Anderson, behance, light and space, reimagined by industrial light and magic, matte painting, criterion collection",
      "gif_ping_pong": true,
      "output_format": "mp4",
      "guidance_scale": 7.5,
      "prompt_strength": 0.9,
      "film_interpolation": true,
      "intermediate_output": false,
      "num_inference_steps": 50,
      "num_animation_frames": 25,
      "gif_frames_per_second": 20,
      "num_interpolation_steps": 5
    }
  }'

返回响应

🟢200成功 application/json生成代码 Body 生成代码 示例

{
    "id": "8qnr2j4kynrj00crapbtfewwdg",
    "model": "andreasjansson/stable-diffusion-animation",
    "version": "ca1f5e306e5721e19c473e0d094e6603f0456fe759c10715fcd6c1b79242d4a5",
    "input": {
        "film_interpolation": true,
        "gif_frames_per_second": 20,
        "gif_ping_pong": true,
        "guidance_scale": 7.5,
        "height": 512,
        "intermediate_output": false,
        "num_animation_frames": 25,
        "num_inference_steps": 50,
        "num_interpolation_steps": 5,
        "output_format": "mp4",
        "prompt_end": "tall rectangular black monolith, a white room in the future with a bed, victorian details and a tall black monolith, a detailed matte painting by Wes Anderson, behance, light and space, reimagined by industrial light and magic, matte painting, criterion collection",
        "prompt_start": "tall rectangular black monolith, monkeys in the desert looking at a large tall monolith, a detailed matte painting by Wes Anderson, behance, light and space, reimagined by industrial light and magic, matte painting, criterion collection",
        "prompt_strength": 0.9,
        "width": 512
    },
    "logs": "",
    "output": null,
    "data_removed": false,
    "error": null,
    "status": "starting",
    "created_at": "2025-07-29T09:50:53.941Z",
    "urls": {
        "cancel": "https://api.replicate.com/v1/predictions/8qnr2j4kynrj00crapbtfewwdg/cancel",
        "get": "https://api.replicate.com/v1/predictions/8qnr2j4kynrj00crapbtfewwdg",
        "stream": "https://stream.replicate.com/v1/files/qoxq-lpghpenswbt2fqhz7xaggbmesoqxvt4h3ralq47fkfdcsgf2jmuq",
        "web": "https://replicate.com/p/8qnr2j4kynrj00crapbtfewwdg"
    }
}

修改于 2025-08-07 08:43:45

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