xAI · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for xAI's REST Videos API

5 actions 5 updates phrasing extends openapi/xai-videos-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for xAI's API. It is a proposal applied on top of the contract, not a document xAI publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/v1/videos/edits'].post
$.paths['/v1/videos/extensions'].post
$.paths['/v1/videos/generations'].post
$.paths['/v1/videos/{request_id}'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for xAI's REST Videos API
  version: 1.0.0
extends: openapi/xai-videos-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/v1/videos/edits'].post
  update:
    x-apievangelist-phrasing:
      intent: Edit an existing video with a prompt
      effect: write
      questions:
      - How do I edit a video by describing what should change?
      - Can I edit a video using a prompt and an existing video file?
      instructions:
      - text: Edit video {video} with prompt {prompt}.
        slots:
          video: requestBody.video
          prompt: requestBody.prompt
      - text: Apply the edit described in {prompt} to {video}.
        slots:
          prompt: requestBody.prompt
          video: requestBody.video
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/videos/extensions'].post
  update:
    x-apievangelist-phrasing:
      intent: Extend a video with continuation content
      effect: write
      questions:
      - Can I generate a continuation for a video that's already been made?
      - How long can an extension segment be?
      instructions:
      - text: Extend video {video} with a {duration}-second continuation described by {prompt}.
        slots:
          video: requestBody.video
          duration: requestBody.duration
          prompt: requestBody.prompt
      - text: Continue {video} for {duration} seconds following {prompt}.
        slots:
          video: requestBody.video
          duration: requestBody.duration
          prompt: requestBody.prompt
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/videos/generations'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate a video from text and an optional image
      effect: write
      questions:
      - How do I create a video from a text prompt?
      - Can I generate a video from an image and a prompt?
      instructions:
      - text: Generate a video of {duration} seconds from the prompt {prompt}.
        slots:
          duration: requestBody.duration
          prompt: requestBody.prompt
      - text: Create a video from {prompt} using reference images {reference_images}.
        slots:
          prompt: requestBody.prompt
          reference_images: requestBody.reference_images
      method: generated
      generated: '2026-11-17'
- target: $.paths['/v1/videos/{request_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a deferred video generation job
      effect: read
      questions:
      - Did my video generation job finish successfully?
      - Where do I get the generated video URL once a deferred request completes?
      instructions:
      - text: Get the result of deferred video request {request_id}.
        slots:
          request_id: path.request_id
      - text: Check the status of video generation job {request_id}.
        slots:
          request_id: path.request_id
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/xai-videos-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.