{"version":"1","model":{"id":"xai/grok-imagine-video/edit-video","name":"Grok Edit Video","kind":"video","availability":"available","available":true,"restricted":false,"api_key_only":false,"description":"Grok Edit Video — instruction-based video editing that replaces or transforms elements while keeping all subjects and motion intact.","pricing_note":"$0.06/s (480p) · $0.08/s (720p), output+input combined; input is truncated to 8s by the API.","categories":["v2v"],"prompt_required":true,"prompt_supported":true,"supports":{"referenceVideo":true},"requires":{"referenceVideo":true},"aspect_ratios":[],"resolutions":["auto","480p","720p"],"durations":[],"base_credits":38,"api_gross_margin_percent":20,"added_at":"2026-05-10","popularity_rank":404,"example_prompt":"Replace the background with a dramatic storm-lit coastline, keep all subjects and motion intact, add crashing waves and rain in the background","preview":{"image":"https://cdn.artemotion.ai/file/artemotion-ai-bckt/model-previews/grok-imagine-sm.webp"},"schema_url":"/api/v1/models?id=xai%2Fgrok-imagine-video%2Fedit-video","input_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://www.artemotion.ai/api/v1/models?id=xai%2Fgrok-imagine-video%2Fedit-video","title":"Grok Edit Video generation request","description":"Request body accepted by POST /api/v1/generate for xai/grok-imagine-video/edit-video.","type":"object","properties":{"model_id":{"type":"string","const":"xai/grok-imagine-video/edit-video","description":"ArtEmotion model identifier."},"extra":{"type":"object","additionalProperties":true,"description":"Model-specific settings may also be nested here."},"max_credits":{"type":"number","minimum":1,"description":"Reject before submission if the estimated list price exceeds this cap."},"webhook_url":{"type":"string","format":"uri","maxLength":2048},"webhook_secret":{"type":"string","maxLength":512},"folder_id":{"type":"string"},"prompt":{"type":"string"},"resolution":{"type":"string","enum":["auto","480p","720p"]},"video_url":{"type":"string","format":"uri"}},"required":["model_id","prompt","video_url"],"additionalProperties":false},"parameters":[]}}