Pular para o conteúdo principal

Atualizado

What is the Grok Imagine Upscale API?

The Grok Imagine Upscale API is live on UnificAlly as xai/grok-imagine-upscale, from $0.05 per upscaled video. Grok Imagine Upscale takes a video Grok Imagine already generated and returns a higher-definition version of it. You pass the task_id of the source generation — there are no other parameters, no quality dial, and no file upload.

It is the finishing step for the speed-optimized Grok Imagine Video route: generate quickly at 480p or 720p, then upscale the video you decide to keep.

Grok Imagine Upscale API specs

Model IDxai/grok-imagine-upscale
EndpointPOST https://api.unifically.com/v1/tasks
Request typesVideo upscale from a task ID
Inputtask_id of a completed xai/grok-imagine-1.5-fast-video generation
OutputHD-upscaled version of the source video
Reference inputsNone. The source is found by task ID, with no file upload
Rate per upscale$0.05

Billing is a flat rate per upscale, with no subscription. The Grok Imagine pricing guide covers the rates for the whole Grok Imagine family.

How to use the Grok Imagine Upscale 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 that holds the source task_id.
  3. Read the new 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-upscale",
    "input": {
      "task_id": "abc123def456"
    }
  }'

The response returns a task ID of its own 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 upscaled video URL.

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

Grok Imagine Upscale API parameters

ParameterTypeDefaultWhat it does
task_idstringnone (required)Task ID of a completed xai/grok-imagine-1.5-fast-video generation. Returns an HD-upscaled result

The Grok Imagine Upscale API documentation has the full reference.

Key features of Grok Imagine Upscale

One parameter

Send task_id and nothing else. The endpoint resolves the source video and returns an HD result, so there is no settings surface to get wrong.

Works from a task ID, not an upload

The source must be a video Grok Imagine generated. Nothing to re-upload, and no re-encode of your own file.

Pairs with the speed-optimized build

Draft fast on Grok Imagine Video, then upscale only the take worth keeping rather than paying for quality on every attempt.

What Grok Imagine Upscale is best for

  • Finishing a chosen draft

    Generate several options quickly at 720p, then upscale only the one you plan to use.

  • Cheap iteration, sharp delivery

    Keep exploration at low resolution and spend on definition once, at the end.

  • Batch cleanup

    Upscale a set of approved videos by task ID without re-uploading any media.

Grok Imagine Upscale limitations

Upscale only accepts task IDs from Grok Imagine Video (xai/grok-imagine-1.5-fast-video, the speed-optimized 1.5 build). Task IDs from Grok Imagine 1.5 Video are not supported — that route is the separate API build, and it already reaches 1080p on its own. You cannot upscale a video you uploaded yourself; for arbitrary video files use Topaz Video Upscale. There is no scale factor or target resolution to choose.

Perguntas frequentes

Perguntas frequentes sobre Grok Imagine Upscale

It takes the task_id of a completed Grok Imagine video generation and returns an HD-upscaled version of that video. There is nothing else to configure — one parameter in, a higher-definition result out.

Upscale jobs authenticate with a key from the API keys page in the Authorization: Bearer header on https://api.unifically.com/v1/tasks. The only thing the first request needs is the task_id of a completed xai/grok-imagine-1.5-fast-video generation.

One field does it: the Grok Imagine Upscale API takes "model": "xai/grok-imagine-upscale" with input.task_id set to a completed Grok Imagine Video generation. You get a new task_id straight away, and the finished task carries the upscaled video URL at /v1/tasks/{task_id} or through a callback_url.

Only videos generated with Grok Imagine Video (xai/grok-imagine-1.5-fast-video, the speed-optimized 1.5 build). Task IDs from Grok Imagine 1.5 Video (xai/grok-imagine-1.5-video) are not supported — that model is the separate API build.

No. This endpoint works from a task ID, so the source has to be a video Grok Imagine generated. To upscale an arbitrary video file, use Topaz Video Upscale instead.

It is returned when you submit a generation, and it is listed against every run in your task log. Paste it into the Task ID field above, or send it as task_id on the API call.

Guias e comparações do Grok Imagine Upscale

Confira preços, limites e resultados testados antes de usar este modelo.