AnimateDiff
animatediffPlug-and-play motion module that animates personalized Stable Diffusion models without further training. 16-frame clips at 512x512.
- Price
- โ $0.1201/run
- Aspect ratios
- 16:9, 9:16, 1:1
- Input โ output
- Text โ Video
- Developer
- Community
- Updated
- September 23, 2026
Playground
Try AnimateDiff
Input & output
This run
about $0.1201 ยท 12.01 credits
$0.3601 (36.01 credits) are reserved at the start; the actual GPU time is billed.
For accounts without a purchase: runs above 2 credits need a top-up.
New here?
10 free credits ($0.10) when you sign up with Google
Usable 24 hours after sign-up, up to 5 runs per day and at most 2 credits per run. Other sign-in methods start without credits.
Examples
Prompt
photo of coastline, rocks, storm weather, wind, waves, lightning, 8k uhd, dslr, soft lighting, high quality, film grain, Fujifilm XT3
Length: 0:02
Prompt
Jane Eyre with headphones, natural skin texture,4mm,k textures, soft cinematic light, adobe lightroom, photolab, hdr, intricate, elegant, highly detailed, sharp focus, cinematic look, soothing tones, insane details, intricate details, hyperdetailed, low contrast, soft cinematic light, dim colors, exposure blend, hdr, faded
Length: 0:02
Prompt
A forbidden castle high up in the mountains, pixel art, intricate details2, hdr, intricate details, hyperdetailed5, natural skin texture, hyperrealism, soft light, sharp, game art, key visual, surreal
Length: 0:02
About AnimateDiff
AnimateDiff is a model by Community in the Video generation category. On Railwail, AnimateDiff costs โ $0.1201 per run. Supported aspect ratios: 16:9, 9:16, and 1:1.
Pricing
| Typical run (โ 71 s on A100 (80GB)) | $0.1201 per run |
|---|---|
| GPU time (A100 (80GB)) | $0.00168 per GPU second |
- Billed by the GPU time the run actually takes. When the run starts, 3ร the typical price is reserved from your balance and settled afterwards.
- 1 credit = $0.01
Cost calculator
Price calculator
Typical according to the provider: about 71.4 s
Total
$12.01
1,201 credits
Per run
$0.1201 ยท 12.01 credits
Billed by the actual GPU time; this is an estimate.
API
curl https://railwail.com/api/v1/videos/generations \
-H "Authorization: Bearer $RAILWAIL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "animatediff",
"prompt": "A slow drone shot over a misty pine forest at sunrise"
}'
# Response: {"job_id": "...", "status": "queued", ...}
# Poll until status is completed, failed or cancelled:
curl https://railwail.com/api/v1/jobs/JOB_ID \
-H "Authorization: Bearer $RAILWAIL_API_KEY"import os
import time
import requests
API = "https://railwail.com/api/v1"
headers = {"Authorization": f"Bearer {os.environ['RAILWAIL_API_KEY']}"}
job = requests.post(
f"{API}/videos/generations",
headers=headers,
json={
"model": "animatediff",
"prompt": "A slow drone shot over a misty pine forest at sunrise",
},
).json()
while True:
status = requests.get(f"{API}/jobs/{job['job_id']}", headers=headers).json()
if status["status"] in ("completed", "failed", "cancelled"):
break
time.sleep(5)
print(status["status"], status.get("output_url"))const API = "https://railwail.com/api/v1";
const headers = {
Authorization: `Bearer ${process.env.RAILWAIL_API_KEY}`,
"Content-Type": "application/json",
};
const job = await fetch(`${API}/videos/generations`, {
method: "POST",
headers,
body: JSON.stringify({
model: "animatediff",
prompt: "A slow drone shot over a misty pine forest at sunrise"
}),
}).then((r) => r.json());
let status;
do {
await new Promise((r) => setTimeout(r, 5000));
status = await fetch(`${API}/jobs/${job.job_id}`, { headers }).then((r) => r.json());
} while (!["completed", "failed", "cancelled"].includes(status.status));
console.log(status.status, status.output_url);Videos run asynchronously: the first call returns a job_id; query /api/v1/jobs/JOB_ID until the status is completed.
Specifications
- Model ID
animatediff- Developer
- Community
- Category
- Video generation
- Input
- Text
- Output
- Video
- Aspect ratios
- 16:9, 9:16, 1:1
- Billing
- By usage (tokens or GPU time)
- Catalog entry updated
- September 23, 2026
Input parameters
Inputs and settings from the model's input schema. The example in the API section shows which of them the API accepts.
promptrequiredWhat video to generate
Type: TextDefault: โAllowed values: up to 2,000 charactersfpsType: IntegerDefault:8Allowed values: 8 to 24seedOptional seed for reproducibility
Type: IntegerDefault: โAllowed values: โaspect_ratioType: ChoiceDefault:1:1Allowed values: 16:9, 9:16, or 1:1duration_secType: IntegerDefault:2Allowed values: 1 to 4motion_strengthType: NumberDefault:0.5Allowed values: 0 to 1
Tags
- replicate
- animation
- animatediff
- open-source
Use cases
Frequently asked questions
What is AnimateDiff?
AnimateDiff is a model by Community in the Video generation category. On Railwail you can call it with an API key through the Railwail API.
How much does AnimateDiff cost on Railwail?
On Railwail, AnimateDiff costs โ $0.1201 per run. You are charged for what each request actually uses. Usage is paid from prepaid credits; 1 credit equals $0.01.
Which settings does AnimateDiff support?
According to its input schema, AnimateDiff knows these parameters: prompt (up to 2,000 characters), fps (8 to 24), seed, aspect_ratio (16:9, 9:16, or 1:1), duration_sec (1 to 4), and motion_strength (0 to 1).
How fast is AnimateDiff?
There are not enough measured runs of AnimateDiff on Railwail yet to state a run time. It depends on the input, the settings and the load at the provider.
Is AnimateDiff better than Google Veo 3.1?
That depends on the task. AnimateDiff (Community) and Google Veo 3.1 (Google DeepMind) are both models in the Video generation category. The comparison page shows their prices and specifications side by side.
Compare AnimateDiff and Google Veo 3.1How do I use AnimateDiff through the API?
Create a Railwail API key and send your request with the model ID animatediff. Code examples for curl, Python and JavaScript are in the API section of this page.
Comparable models
All in this category- HunyuanVideoTencent
Tencent's HunyuanVideo, a 13B open-weights text-to-video diffusion transformer. Produces high-motion, photorealistic clips with smooth temporal consistency and was one of the first open models to rival closed systems on motion quality.
- Google Veo 2Google DeepMind
Google's state-of-the-art video generation model. Simulates real-world physics with various visual styles.
- Google Veo 3 (Replicate)Google DeepMind
Google's Veo 3 served via Replicate. Text-to-video with native synchronized audio generation. High-fidelity motion and scene coherence in short clips.
Use AnimateDiff via the API
One API key for every model on Railwail. Usage is charged from prepaid credits, 1 credit = $0.01.