Skip to main content
ArtEmotion
Video

Grok Edit Video

Credit-based pricing. Supports reference video.

Grok Edit Video preview
Output
video
Resolution
auto, 480p, 720p

Inputs

  • Reference video (required)

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
Try this prompt →
LLM-ready

API & LLM schema

Exact request contract for this model. Agents can fetch it from /api/v1/models?id=xai/grok-imagine-video/edit-video.

POST/api/v1/generate9 fields · 3 required
FieldTypeRequirementContract
model_idconstantRequiredArtEmotion model identifier.
extraobjectOptionalModel-specific settings may also be nested here.
max_creditsnumberOptionalReject before submission if the estimated list price exceeds this cap. · Range: 1–…
webhook_urlstringOptionalFormat: uri
webhook_secretstringOptionalOptional model input.
folder_idstringOptionalOptional model input.
promptstringRequiredOptional model input.
resolutionstringOptionalAllowed: auto, 480p, 720p
video_urlstringRequiredFormat: uri
Minimal request example
{
  "model_id": "xai/grok-imagine-video/edit-video",
  "prompt": "Replace the background with a dramatic storm-lit coastline, keep all subjects and motion intact, add crashing waves and rain in the background",
  "video_url": "https://example.com/video"
}
Raw JSON 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
}

FAQ

How much does Grok Edit Video cost on ArtEmotion?

Credit-based pricing. You pay in ArtEmotion credits — every plan and top-up converts USD to credits at a fixed rate.

Do I get my credits back if Grok Edit Video fails?

Yes — failed generations are never charged. The credits are released back to your balance automatically.

Can I call Grok Edit Video from the API?

Yes. Use POST /api/v1/generate with model_id: "xai/grok-imagine-video/edit-video". See the API reference for the full schema.

Where are my generations stored?

Every output is saved to your personal Library. You can export or delete everything any time from Privacy & deletion.

Ready to generate with Grok Edit Video?

Start now →

No commitment. New accounts get 50 free credits on signup. See pricing.