Create Task Andreasjansson/Stable Diffusion Animation

official文档:https://replicate.com/andreasjansson/stable-diffusion-animation

Endpoint

POST http://v98store.com/replicate/v1/predictions

cURL Command

curl -X POST 'http://v98store.com/replicate/v1/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "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 } }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "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
  }
}

Responses

200 -

Example

{
  "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"
  }
}