Pular para o conteúdo principal
Model logo

API do Grok Imagine 1.0 Video Edit

  • Vídeo para vídeo

Grok Imagine 1.0 Video Edit faz parte da família de modelos Grok ImagineVer todos os modelos Grok Imagine

Toque para enviarMP4, WEBM, MOV · Máx. 100 MB
Saída

Seu video gerado aparecerá aqui

Atualizado

What is the Grok Imagine 1.0 Video Edit API?

The Grok Imagine 1.0 Video Edit API is live on UnificAlly as xai/grok-imagine-1.0-video-edit, from $0.025 per generated second of video. Grok Imagine 1.0 Video Edit runs xAI's classic 1.0-class video model on a video you already have and changes it according to a text instruction. Pass the public URL of the clip and a prompt describing the change, and xAI's Grok Imagine returns a new clip of the same length and aspect ratio with the edit applied: a different time of day, weather, palette, wardrobe, or scene dressing, while the action and camera stay as they were.

The model key is xai/grok-imagine-1.0-video-edit. It works on any public clip up to 8.7 seconds, not only Grok output, and renders at up to 720p.

Grok Imagine 1.0 Video Edit API specs

Model IDxai/grok-imagine-1.0-video-edit
EndpointPOST https://api.unifically.com/v1/tasks
Request typesVideo edit: one source clip plus a text instruction
Output lengthSame as the source clip
Source inputOne video, passed as a public URL in video_url
Request fieldsprompt and video_url only. Unknown fields are rejected
Rate at 480p$0.025/sec
Rate at 720p$0.035/sec

Billing is per generated second, plus a small charge per second of source video, with no subscription. The pricing page shows the live rates, and the playground quotes the exact price of a request before you submit it.

How to use the Grok Imagine 1.0 Video Edit API

  1. Create an API key on the API keys page.
  2. Send a POST request to /v1/tasks with the model ID and an input object holding prompt and video_url.
  3. Read the task_id from the response, then check the task until it is finished, or pass a callback URL and wait for the result.
curl -X POST https://api.unifically.com/v1/tasks   -H "Content-Type: application/json"   -H "Authorization: Bearer YOUR_API_KEY"   -d '{
    "model": "xai/grok-imagine-1.0-video-edit",
    "input": {
      "prompt": "Make it night time with rain and neon reflections on the street",
      "video_url": "https://files.unifically.com/your-source-clip.mp4"
    }
  }'

The response returns the task ID straight away:

{
  "code": 200,
  "success": true,
  "data": {
    "task_id": "abc123def456",
    "status": "processing"
  }
}

Poll the task, or set a callback_url on the request. The finished task carries the edited video URL.

curl https://api.unifically.com/v1/tasks/{task_id}   -H "Authorization: Bearer YOUR_API_KEY"

Grok Imagine 1.0 Video Edit API parameters

ParameterTypeDefaultWhat it does
promptstringnone, requiredWhat to change in the clip
video_urlstringnone, requiredPublic URL of the source clip to edit

The Grok Imagine 1.0 Video Edit API takes no other fields, and unknown request fields are rejected rather than ignored. The Grok Imagine 1.0 Video Edit API documentation has the full reference.

Key features of Grok Imagine 1.0 Video Edit

Prompt-driven video-to-video

Describe the change in plain language. Relighting, weather, season, color grade, and object swaps are the typical edits; the motion and framing of the source are preserved.

Any source clip by URL

The input is a URL, so clips from Grok Imagine 1.5 Video, 1.5 Lite Video, another model, or a camera all work. Upload a file in the playground and it is hosted for you.

Length and ratio follow the source

There is nothing to configure: the output matches the source clip second for second and keeps its aspect ratio, capped at 720p.

Two fields, no surprises

Only video_url and prompt are accepted. Unknown fields are rejected up front, so a typo cannot quietly change a billed job.

Chains with Extend

Edit first, then continue the result with Grok Imagine 1.0 Video Extend for a longer sequence in the new look.

What Grok Imagine 1.0 Video Edit is best for

  • Relighting and weather

    Turn a daytime take into night, add rain or snow, or shift golden hour to overcast without a reshoot.

  • Look variants of one shot

    Produce several color grades or styles from one approved clip to compare in an edit.

  • Fixing generated clips

    Change the detail you did not like in a Grok Imagine 1.5 Video output instead of regenerating the whole thing.

  • Scene dressing

    Swap props, signage, or background elements described in the prompt while the subject keeps moving as before.

Grok Imagine 1.0 Video Edit limitations

Source clips must be publicly reachable and at most 8.7 seconds long; longer sources are rejected. Output is capped at 720p and always matches the source length and ratio, so this is not the route for reframing or extending (use Grok Imagine 1.0 Video Extend to add seconds). Edits that need new camera moves or a different subject are better served by regenerating on Grok Imagine 1.5 Video with the source as a start frame.

Perguntas frequentes

Perguntas frequentes sobre Grok Imagine 1.0 Video Edit

It rewrites an existing video according to a text instruction. Give it the public URL of a clip and describe the change, for example "make it night with rain and neon reflections", and it returns a new clip of the same length and aspect ratio with the change applied.

A key from the API keys page, sent as Authorization: Bearer <key>, is what https://api.unifically.com/v1/tasks expects. Your first edit needs two inputs only: a public video_url of a clip up to 8.7 seconds and a prompt saying what should change.

Submit "model": "xai/grok-imagine-1.0-video-edit" with an input of prompt and video_url; duration, ratio and resolution follow the source, capped at 720p, and unknown fields are rejected before any charge. The task ID comes back at once, and the finished task carries the edited video URL via /v1/tasks/{task_id} or your callback_url.

Any clip reachable at a public URL, up to 8.7 seconds long, from any source. It is not limited to videos generated by Grok. The output is capped at 720p.

Two. video_url, the public URL of the source clip, and prompt, what should change. There is no duration, aspect ratio, or resolution field; the output follows the source, and unknown fields are rejected before any charge.

Per generated second at a rate decided by the source clip's resolution: $0.025/sec at 480p and $0.035/sec at 720p, plus a small per-second charge for the source video. Because the output is as long as the source, a 6-second clip is billed as 6 generated seconds plus 6 source seconds.

Yes. Each edit returns a new video URL, which you can pass back as video_url for a further change, or hand to Grok Imagine 1.0 Video Extend to continue it.

Because xAI runs its video edit endpoint on the classic Grok Imagine video model, the 1.0 generation, whichever model made the source clip. The name says which engine renders the edit, and it is why the output is capped at 720p. An earlier web-based edit key was removed in July 2026; this is a new model on xAI's API.