POST
/
proxy
/
moonvalley
/
prompts
/
text-to-video
Create Text to Video Prompt
curl --request POST \
  --url https://api.comfy.org/proxy/moonvalley/prompts/text-to-video \
  --header 'Content-Type: application/json' \
  --data '{
  "image_url": "<string>",
  "inference_params": {
    "add_quality_guidance": true,
    "caching_coefficient": 0.3,
    "caching_cooldown": 3,
    "caching_warmup": 3,
    "clip_value": 3,
    "conditioning_frame_index": 0,
    "cooldown_steps": 75,
    "fps": 24,
    "guidance_scale": 10,
    "height": 1080,
    "negative_prompt": "<string>",
    "num_frames": 64,
    "seed": 123,
    "shift_value": 3,
    "steps": 80,
    "use_guidance_schedule": true,
    "use_negative_prompts": false,
    "use_timestep_transform": true,
    "warmup_steps": 0,
    "width": 1920
  },
  "prompt_text": "<string>",
  "webhook_url": "<string>"
}'
{
  "error": {},
  "frame_conditioning": {},
  "id": "<string>",
  "inference_params": {},
  "meta": {},
  "model_params": {},
  "output_url": "<string>",
  "prompt_text": "<string>",
  "status": "<string>"
}

Body

application/json

Response

201 - application/json

Prompt created

The response is of type object.