The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
{
"example_prediction": {
"input": {
"frames_per_second": 16,
"go_fast": true,
"image": "https://replicate.delivery/pbxt/NRvtedaIOd3pdE0pTE3L9uavxJ53g33THGr0HF81M2olNOce/replicate-prediction-g8gbs3rbk9rme0crbhwatpsq04.jpg",
"lora_scale_transformer": 1,
"lora_scale_transformer_2": 1,
"num_frames": 81,
"prompt": "Close-up shot of an elderly sailor wearing a yellow raincoat, seated on the deck of a catamaran, slowly puffing on a pipe. His cat lies quietly beside him with eyes closed, enjoying the calm. The warm glow of the setting sun bathes the scene, with gentle waves lapping against the hull and a few seabirds circling slowly above. The camera slowly pushes in, capturing this peaceful and harmonious moment.",
"resolution": "480p",
"sample_shift": 12
},
"output": "https://replicate.delivery/xezq/FFBRE9C0J85HAJDLBHxQYMXwdt0WUZnlADnbOqxiM8pTI8VF/output_30fps.mp4",
"status": "succeeded"
},
"model": "wan-video/wan-2.2-i2v-fast",
"openapi_schema": {
"components": {
"schemas": {
"HTTPValidationError": {
"properties": {
"detail": {
"items": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"title": "Location",
"type": "array"
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
},
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError",
"type": "object"
},
"title": "Detail",
"type": "array"
}
},
"title": "HTTPValidationError",
"type": "object"
},
"Input": {
"properties": {
"disable_safety_checker": {
"default": false,
"description": "Disable safety checker for generated video.",
"title": "Disable Safety Checker",
"type": "boolean",
"x-order": 10
},
"frames_per_second": {
"default": 16,
"description": "Frames per second. Note that the pricing of this model is based on the video duration at 16 fps",
"maximum": 30,
"minimum": 5,
"title": "Frames Per Second",
"type": "integer",
"x-order": 5
},
"go_fast": {
"default": true,
"description": "Go fast",
"title": "Go Fast",
"type": "boolean",
"x-order": 7
},
"image": {
"description": "Input image to generate video from.",
"format": "uri",
"title": "Image",
"type": "string",
"x-order": 1
},
"interpolate_output": {
"default": false,
"description": "Interpolate the generated video to 30 FPS using ffmpeg",
"title": "Interpolate Output",
"type": "boolean",
"x-order": 6
},
"last_image": {
"description": "Optional last image to condition the video generation. If provided, creates smoother transitions between frames.",
"format": "uri",
"nullable": true,
"title": "Last Image",
"type": "string",
"x-order": 2
},
"lora_scale_transformer": {
"default": 1,
"description": "Determines how strongly the transformer LoRA should be applied.",
"title": "Lora Scale Transformer",
"type": "number",
"x-order": 12
},
"lora_scale_transformer_2": {
"default": 1,
"description": "Determines how strongly the transformer_2 LoRA should be applied.",
"title": "Lora Scale Transformer 2",
"type": "number",
"x-order": 14
},
"lora_weights_transformer": {
"description": "Load LoRA weights for the HIGH transformer. Supports arbitrary .safetensors URLs from the Internet (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_hinoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer",
"type": "string",
"x-order": 11
},
"lora_weights_transformer_2": {
"description": "Load LoRA weights for the LOW transformer_2. Supports arbitrary .safetensors URLs from the Internet. Can be different from transformer LoRA. (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_lownoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer 2",
"type": "string",
"x-order": 13
},
"num_frames": {
"default": 81,
"description": "Number of video frames. 81 frames give the best results",
"maximum": 121,
"minimum": 81,
"title": "Num Frames",
"type": "integer",
"x-order": 3
},
"prompt": {
"description": "Prompt for video generation",
"title": "Prompt",
"type": "string",
"x-order": 0
},
"resolution": {
"default": "480p",
"description": "Resolution of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px",
"enum": [
"480p",
"720p"
],
"title": "resolution",
"type": "string",
"x-order": 4
},
"sample_shift": {
"default": 12,
"description": "Sample shift factor",
"maximum": 20,
"minimum": 1,
"title": "Sample Shift",
"type": "number",
"x-order": 8
},
"seed": {
"description": "Random seed. Leave blank for random",
"nullable": true,
"title": "Seed",
"type": "integer",
"x-order": 9
}
},
"required": [
"prompt",
"image"
],
"title": "Input",
"type": "object"
},
"Output": {
"format": "uri",
"title": "Output",
"type": "string"
},
"PredictionRequest": {
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"input": {
"properties": {
"disable_safety_checker": {
"default": false,
"description": "Disable safety checker for generated video.",
"title": "Disable Safety Checker",
"type": "boolean",
"x-order": 10
},
"frames_per_second": {
"default": 16,
"description": "Frames per second. Note that the pricing of this model is based on the video duration at 16 fps",
"maximum": 30,
"minimum": 5,
"title": "Frames Per Second",
"type": "integer",
"x-order": 5
},
"go_fast": {
"default": true,
"description": "Go fast",
"title": "Go Fast",
"type": "boolean",
"x-order": 7
},
"image": {
"description": "Input image to generate video from.",
"format": "uri",
"title": "Image",
"type": "string",
"x-order": 1
},
"interpolate_output": {
"default": false,
"description": "Interpolate the generated video to 30 FPS using ffmpeg",
"title": "Interpolate Output",
"type": "boolean",
"x-order": 6
},
"last_image": {
"description": "Optional last image to condition the video generation. If provided, creates smoother transitions between frames.",
"format": "uri",
"nullable": true,
"title": "Last Image",
"type": "string",
"x-order": 2
},
"lora_scale_transformer": {
"default": 1,
"description": "Determines how strongly the transformer LoRA should be applied.",
"title": "Lora Scale Transformer",
"type": "number",
"x-order": 12
},
"lora_scale_transformer_2": {
"default": 1,
"description": "Determines how strongly the transformer_2 LoRA should be applied.",
"title": "Lora Scale Transformer 2",
"type": "number",
"x-order": 14
},
"lora_weights_transformer": {
"description": "Load LoRA weights for the HIGH transformer. Supports arbitrary .safetensors URLs from the Internet (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_hinoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer",
"type": "string",
"x-order": 11
},
"lora_weights_transformer_2": {
"description": "Load LoRA weights for the LOW transformer_2. Supports arbitrary .safetensors URLs from the Internet. Can be different from transformer LoRA. (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_lownoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer 2",
"type": "string",
"x-order": 13
},
"num_frames": {
"default": 81,
"description": "Number of video frames. 81 frames give the best results",
"maximum": 121,
"minimum": 81,
"title": "Num Frames",
"type": "integer",
"x-order": 3
},
"prompt": {
"description": "Prompt for video generation",
"title": "Prompt",
"type": "string",
"x-order": 0
},
"resolution": {
"default": "480p",
"description": "Resolution of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px",
"enum": [
"480p",
"720p"
],
"title": "resolution",
"type": "string",
"x-order": 4
},
"sample_shift": {
"default": 12,
"description": "Sample shift factor",
"maximum": 20,
"minimum": 1,
"title": "Sample Shift",
"type": "number",
"x-order": 8
},
"seed": {
"description": "Random seed. Leave blank for random",
"nullable": true,
"title": "Seed",
"type": "integer",
"x-order": 9
}
},
"required": [
"prompt",
"image"
],
"title": "Input",
"type": "object"
}
},
"title": "PredictionRequest",
"type": "object"
},
"PredictionResponse": {
"properties": {
"completed_at": {
"format": "date-time",
"title": "Completed At",
"type": "string"
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"id": {
"title": "Id",
"type": "string"
},
"input": {
"properties": {
"disable_safety_checker": {
"default": false,
"description": "Disable safety checker for generated video.",
"title": "Disable Safety Checker",
"type": "boolean",
"x-order": 10
},
"frames_per_second": {
"default": 16,
"description": "Frames per second. Note that the pricing of this model is based on the video duration at 16 fps",
"maximum": 30,
"minimum": 5,
"title": "Frames Per Second",
"type": "integer",
"x-order": 5
},
"go_fast": {
"default": true,
"description": "Go fast",
"title": "Go Fast",
"type": "boolean",
"x-order": 7
},
"image": {
"description": "Input image to generate video from.",
"format": "uri",
"title": "Image",
"type": "string",
"x-order": 1
},
"interpolate_output": {
"default": false,
"description": "Interpolate the generated video to 30 FPS using ffmpeg",
"title": "Interpolate Output",
"type": "boolean",
"x-order": 6
},
"last_image": {
"description": "Optional last image to condition the video generation. If provided, creates smoother transitions between frames.",
"format": "uri",
"nullable": true,
"title": "Last Image",
"type": "string",
"x-order": 2
},
"lora_scale_transformer": {
"default": 1,
"description": "Determines how strongly the transformer LoRA should be applied.",
"title": "Lora Scale Transformer",
"type": "number",
"x-order": 12
},
"lora_scale_transformer_2": {
"default": 1,
"description": "Determines how strongly the transformer_2 LoRA should be applied.",
"title": "Lora Scale Transformer 2",
"type": "number",
"x-order": 14
},
"lora_weights_transformer": {
"description": "Load LoRA weights for the HIGH transformer. Supports arbitrary .safetensors URLs from the Internet (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_hinoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer",
"type": "string",
"x-order": 11
},
"lora_weights_transformer_2": {
"description": "Load LoRA weights for the LOW transformer_2. Supports arbitrary .safetensors URLs from the Internet. Can be different from transformer LoRA. (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_lownoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer 2",
"type": "string",
"x-order": 13
},
"num_frames": {
"default": 81,
"description": "Number of video frames. 81 frames give the best results",
"maximum": 121,
"minimum": 81,
"title": "Num Frames",
"type": "integer",
"x-order": 3
},
"prompt": {
"description": "Prompt for video generation",
"title": "Prompt",
"type": "string",
"x-order": 0
},
"resolution": {
"default": "480p",
"description": "Resolution of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px",
"enum": [
"480p",
"720p"
],
"title": "resolution",
"type": "string",
"x-order": 4
},
"sample_shift": {
"default": 12,
"description": "Sample shift factor",
"maximum": 20,
"minimum": 1,
"title": "Sample Shift",
"type": "number",
"x-order": 8
},
"seed": {
"description": "Random seed. Leave blank for random",
"nullable": true,
"title": "Seed",
"type": "integer",
"x-order": 9
}
},
"required": [
"prompt",
"image"
],
"title": "Input",
"type": "object"
},
"logs": {
"title": "Logs",
"type": "string"
},
"metrics": {
"title": "Metrics",
"type": "object"
},
"output": {
"format": "uri",
"title": "Output",
"type": "string"
},
"started_at": {
"format": "date-time",
"title": "Started At",
"type": "string"
},
"status": {
"title": "Status",
"type": "string"
},
"version": {
"title": "Version",
"type": "string"
}
},
"title": "PredictionResponse",
"type": "object"
},
"Status": {
"description": "An enumeration.",
"enum": [
"starting",
"processing",
"succeeded",
"canceled",
"failed"
],
"title": "Status",
"type": "string"
},
"ValidationError": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"title": "Location",
"type": "array"
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
},
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError",
"type": "object"
},
"resolution": {
"description": "An enumeration.",
"enum": [
"480p",
"720p"
],
"title": "resolution",
"type": "string"
}
}
},
"info": {
"title": "Cog",
"version": "0.1.0"
},
"openapi": "3.0.2",
"paths": {
"/": {
"get": {
"operationId": "root__get",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful Response"
}
},
"summary": "Root"
}
},
"/health-check": {
"get": {
"operationId": "healthcheck_health_check_get",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful Response"
}
},
"summary": "Healthcheck"
}
},
"/predictions": {
"post": {
"description": "Run a single prediction on the model",
"operationId": "predict_predictions_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {
"id": {
"title": "Id",
"type": "string"
},
"input": {
"properties": {
"disable_safety_checker": {
"default": false,
"description": "Disable safety checker for generated video.",
"title": "Disable Safety Checker",
"type": "boolean",
"x-order": 10
},
"frames_per_second": {
"default": 16,
"description": "Frames per second. Note that the pricing of this model is based on the video duration at 16 fps",
"maximum": 30,
"minimum": 5,
"title": "Frames Per Second",
"type": "integer",
"x-order": 5
},
"go_fast": {
"default": true,
"description": "Go fast",
"title": "Go Fast",
"type": "boolean",
"x-order": 7
},
"image": {
"description": "Input image to generate video from.",
"format": "uri",
"title": "Image",
"type": "string",
"x-order": 1
},
"interpolate_output": {
"default": false,
"description": "Interpolate the generated video to 30 FPS using ffmpeg",
"title": "Interpolate Output",
"type": "boolean",
"x-order": 6
},
"last_image": {
"description": "Optional last image to condition the video generation. If provided, creates smoother transitions between frames.",
"format": "uri",
"nullable": true,
"title": "Last Image",
"type": "string",
"x-order": 2
},
"lora_scale_transformer": {
"default": 1,
"description": "Determines how strongly the transformer LoRA should be applied.",
"title": "Lora Scale Transformer",
"type": "number",
"x-order": 12
},
"lora_scale_transformer_2": {
"default": 1,
"description": "Determines how strongly the transformer_2 LoRA should be applied.",
"title": "Lora Scale Transformer 2",
"type": "number",
"x-order": 14
},
"lora_weights_transformer": {
"description": "Load LoRA weights for the HIGH transformer. Supports arbitrary .safetensors URLs from the Internet (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_hinoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer",
"type": "string",
"x-order": 11
},
"lora_weights_transformer_2": {
"description": "Load LoRA weights for the LOW transformer_2. Supports arbitrary .safetensors URLs from the Internet. Can be different from transformer LoRA. (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_lownoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer 2",
"type": "string",
"x-order": 13
},
"num_frames": {
"default": 81,
"description": "Number of video frames. 81 frames give the best results",
"maximum": 121,
"minimum": 81,
"title": "Num Frames",
"type": "integer",
"x-order": 3
},
"prompt": {
"description": "Prompt for video generation",
"title": "Prompt",
"type": "string",
"x-order": 0
},
"resolution": {
"default": "480p",
"description": "Resolution of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px",
"enum": [
"480p",
"720p"
],
"title": "resolution",
"type": "string",
"x-order": 4
},
"sample_shift": {
"default": 12,
"description": "Sample shift factor",
"maximum": 20,
"minimum": 1,
"title": "Sample Shift",
"type": "number",
"x-order": 8
},
"seed": {
"description": "Random seed. Leave blank for random",
"nullable": true,
"title": "Seed",
"type": "integer",
"x-order": 9
}
},
"required": [
"prompt",
"image"
],
"title": "Input",
"type": "object"
}
},
"title": "PredictionRequest",
"type": "object"
}
}
}
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {
"completed_at": {
"format": "date-time",
"title": "Completed At",
"type": "string"
},
"created_at": {
"format": "date-time",
"title": "Created At",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"id": {
"title": "Id",
"type": "string"
},
"input": {
"properties": {
"disable_safety_checker": {
"default": false,
"description": "Disable safety checker for generated video.",
"title": "Disable Safety Checker",
"type": "boolean",
"x-order": 10
},
"frames_per_second": {
"default": 16,
"description": "Frames per second. Note that the pricing of this model is based on the video duration at 16 fps",
"maximum": 30,
"minimum": 5,
"title": "Frames Per Second",
"type": "integer",
"x-order": 5
},
"go_fast": {
"default": true,
"description": "Go fast",
"title": "Go Fast",
"type": "boolean",
"x-order": 7
},
"image": {
"description": "Input image to generate video from.",
"format": "uri",
"title": "Image",
"type": "string",
"x-order": 1
},
"interpolate_output": {
"default": false,
"description": "Interpolate the generated video to 30 FPS using ffmpeg",
"title": "Interpolate Output",
"type": "boolean",
"x-order": 6
},
"last_image": {
"description": "Optional last image to condition the video generation. If provided, creates smoother transitions between frames.",
"format": "uri",
"nullable": true,
"title": "Last Image",
"type": "string",
"x-order": 2
},
"lora_scale_transformer": {
"default": 1,
"description": "Determines how strongly the transformer LoRA should be applied.",
"title": "Lora Scale Transformer",
"type": "number",
"x-order": 12
},
"lora_scale_transformer_2": {
"default": 1,
"description": "Determines how strongly the transformer_2 LoRA should be applied.",
"title": "Lora Scale Transformer 2",
"type": "number",
"x-order": 14
},
"lora_weights_transformer": {
"description": "Load LoRA weights for the HIGH transformer. Supports arbitrary .safetensors URLs from the Internet (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_hinoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer",
"type": "string",
"x-order": 11
},
"lora_weights_transformer_2": {
"description": "Load LoRA weights for the LOW transformer_2. Supports arbitrary .safetensors URLs from the Internet. Can be different from transformer LoRA. (for example, 'https://huggingface.co/TheRaf7/instagirl-v2/resolve/main/Instagirlv2.0_lownoise.safetensors')",
"nullable": true,
"title": "Lora Weights Transformer 2",
"type": "string",
"x-order": 13
},
"num_frames": {
"default": 81,
"description": "Number of video frames. 81 frames give the best results",
"maximum": 121,
"minimum": 81,
"title": "Num Frames",
"type": "integer",
"x-order": 3
},
"prompt": {
"description": "Prompt for video generation",
"title": "Prompt",
"type": "string",
"x-order": 0
},
"resolution": {
"default": "480p",
"description": "Resolution of video. 16:9 corresponds to 832x480px, and 9:16 is 480x832px",
"enum": [
"480p",
"720p"
],
"title": "resolution",
"type": "string",
"x-order": 4
},
"sample_shift": {
"default": 12,
"description": "Sample shift factor",
"maximum": 20,
"minimum": 1,
"title": "Sample Shift",
"type": "number",
"x-order": 8
},
"seed": {
"description": "Random seed. Leave blank for random",
"nullable": true,
"title": "Seed",
"type": "integer",
"x-order": 9
}
},
"required": [
"prompt",
"image"
],
"title": "Input",
"type": "object"
},
"logs": {
"title": "Logs",
"type": "string"
},
"metrics": {
"title": "Metrics",
"type": "object"
},
"output": {
"format": "uri",
"title": "Output",
"type": "string"
},
"started_at": {
"format": "date-time",
"title": "Started At",
"type": "string"
},
"status": {
"title": "Status",
"type": "string"
},
"version": {
"title": "Version",
"type": "string"
}
},
"title": "PredictionResponse",
"type": "object"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"properties": {
"detail": {
"items": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"title": "Location",
"type": "array"
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
},
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError",
"type": "object"
},
"title": "Detail",
"type": "array"
}
},
"title": "HTTPValidationError",
"type": "object"
}
}
},
"description": "Validation Error"
}
},
"summary": "Predict"
}
},
"/predictions/{prediction_id}/cancel": {
"post": {
"operationId": "cancel_predictions__prediction_id__cancel_post",
"parameters": [
{
"in": "path",
"name": "prediction_id",
"required": true,
"schema": {
"title": "Prediction Id",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"properties": {
"detail": {
"items": {
"properties": {
"loc": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
]
},
"title": "Location",
"type": "array"
},
"msg": {
"title": "Message",
"type": "string"
},
"type": {
"title": "Error Type",
"type": "string"
}
},
"required": [
"loc",
"msg",
"type"
],
"title": "ValidationError",
"type": "object"
},
"title": "Detail",
"type": "array"
}
},
"title": "HTTPValidationError",
"type": "object"
}
}
},
"description": "Validation Error"
}
},
"summary": "Cancel"
}
}
}
},
"source": "https://replicate.com/wan-video/wan-2.2-i2v-fast/api/schema",
"uses_versionless_api": true,
"version_created_at": "2026-09-17T08:35:18.143459Z",
"version_id": "4d9f302ce75125a365469e2fe1b65e50d70de4e0e1e3d438d695db5e8bb32e27"
}