Vyra

App · 8 actions

Create and revise videos, export finished cuts, and check job progress and usage.

Actions

ActionWhat it does
Create upload linksCreate upload links.
Create videoCreate video.
Export videoExport video.
Get balanceGet balance.
Get usageGet usage.
Get videoGet video.
List videosList videos.
Revise videoRevise video.

Create upload links.

Inputs

FilesfileslistRequired
Files.

Outputs

dataobject
Response.
Example output
{
  "data": {
    "files": []
  }
}

Create video

Create video.

Inputs

Idempotency keyidempotency_keytext
Use the same key when retrying the same operation.
FootagefootagelistRequired
Up to 200 entries and 3 hours of video in all. Footage needs a picture: audio alone cannot make a video.
Promptprompttext
What to make. Required unless you send a reference. Say what the video is and how long, name the files that matter, and say what you do not want.
Referencesreferenceslist
Videos to make it look like. Up to 20 minutes each.
Effortefforttext
`high` follows a detailed request or a reference more closely, in about 14 minutes. `low` costs half as much and takes about 8. `medium` is taken as `low`.One of: low, high. Default: high.
Max secondsmax_secondsnumber
The longest the video may run. It is never exceeded, and it sets the price band.From 1 to 1800. Default: 60.
Target secondstarget_secondsnumber
The length to aim for, within `max_seconds`.From 1 to 1800.
Aspect ratioaspect_ratiotext
Or send `width` and `height`, not both. Left out, the agent chooses from the footage and the request.One of: 9:16, 16:9, 1:1.
Resolutionresolutiontext
The short edge of a 16:9 or 9:16 video: `720p` is 1280×720 or 720×1280, and 1280×1280 for a square. `4k` is at most 3840×2160 (a square is 2880×2880).One of: 720p, 1080p, 1440p, 4k.
Variationsvariationsnumber
How many cuts to make from the same footage.From 1 to 20. Default: 1.
Variation briefvariation_brieftext
How the cuts differ. Needs `variations` of 2 or more.
Variation scopevariation_scopetext
With `variations` of 2 or more; `portion` when left out. `portion`: every cut has the video's aspect ratio and size and runs within 25% of the first cut's length, and anything else may differ (hook, captions, music, pacing, text, colour). Each extra cut adds a tenth of the fee. `full`: anything may differ, including the shape, the length and the structure. Each extra cut adds three quarters of the fee. A `portion` request whose brief asks for another shapeOne of: portion, full.
Allow generated mediaallow_generated_mediatrue/false
Lets the agent generate music, voiceover, sound and images, which are charged.Default: false.
Generated media budgetgenerated_media_budgetnumber
Dollars, with `allow_generated_media`. The most generated media may add. Left out, $0.30 plus $0.10 for each minute of `max_seconds`.From 0 to 1000.
Max pricemax_pricenumber
Dollars. The most the video may cost in all. If your footage would take it over, the video fails before any editing and costs nothing.From 0 to 10000.
Filenamefilenametext
The name the finished file downloads as. Default `video.mp4`, and `video-2.mp4` and on for a video's later cuts; with a name, cut 2 is `<name>-2.mp4`. Folders, control characters and quotes are taken out, it is cut to 120 characters, and it always ends `.mp4`. In the download, characters other than letters, digits, spaces and `. _ ( ) -` become `-`. A name with nothing left is refused `INVALID_FILENAME`.

Outputs

dataobject
Response.
Example output
{
  "data": {
    "change": {
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "generated_media": 1.0,
        "generated_media_budget": 1.0,
        "media": 1.0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        },
        "per_audio_minute": 1.0,
        "per_generated_credit": 1.0,
        "per_video_minute": 1.0,
        "reused_media": {
          "files": [],
          "media": 0,
          "media_minutes": {}
        },
        "total": 1.0,
        "video": 1.0
      },
      "resolution": "example",
      "status": "queued",
      "video_id": "example",
      "video_ids": []
    },
    "completed_at": "example",
    "created_at": "example",
    "effort": "low",
    "error": {
      "code": "LINK_INVALID",
      "message": "example"
    },
    "expires_at": null,
    "id": "example",
    "last_change": {
      "error": {
        "code": "LINK_INVALID",
        "message": "example"
      },
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "total": 1.0
      },
      "status": "completed",
      "video_id": "example",
      "video_ids": []
    },
    "max_seconds": 1,
    "notes": {
      "assumed": [],
      "did_not_match": [],
      "summary": "example"
    },
    "price": {
      "currency": "USD",
      "generated_media": 1.0,
      "generated_media_budget": 1.0,
      "media": 1.0,
      "media_minutes": {
        "audio": 1.0,
        "video": 1.0
      },
      "per_audio_minute": 1.0,
      "per_generated_credit": 1.0,
      "per_video_minute": 1.0,
      "reused_media": {
        "files": [],
        "media": 0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        }
      },
      "total": 1.0,
      "video": 1.0
    },
    "progress": 1.0,
    "revision_id": "example",
    "revisions": [],
    "status": "queued",
    "variation_scope": "portion",
    "videos": []
  }
}

Export video

Export video.

Inputs

Videovideo_idtextRequired
A video's id (`vid_…`), or one of its cuts' ids (`vid_…_2`).
ResolutionresolutiontextRequired
The short edge of a 16:9 or 9:16 video: `720p` is 1280×720 or 720×1280, and 1280×1280 for a square. `4k` is at most 3840×2160 (a square is 2880×2880).One of: 720p, 1080p, 1440p, 4k.
Filenamefilenametext
The name the file this export renders downloads as. Left out, the create's `filename` (or `video.mp4`). A resolution the cut already has answers with its file as it is.

Outputs

dataobject
Response.
Example output
{
  "data": {
    "change": {
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "generated_media": 1.0,
        "generated_media_budget": 1.0,
        "media": 1.0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        },
        "per_audio_minute": 1.0,
        "per_generated_credit": 1.0,
        "per_video_minute": 1.0,
        "reused_media": {
          "files": [],
          "media": 0,
          "media_minutes": {}
        },
        "total": 1.0,
        "video": 1.0
      },
      "resolution": "example",
      "status": "queued",
      "video_id": "example",
      "video_ids": []
    },
    "completed_at": "example",
    "created_at": "example",
    "effort": "low",
    "error": {
      "code": "LINK_INVALID",
      "message": "example"
    },
    "expires_at": null,
    "id": "example",
    "last_change": {
      "error": {
        "code": "LINK_INVALID",
        "message": "example"
      },
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "total": 1.0
      },
      "status": "completed",
      "video_id": "example",
      "video_ids": []
    },
    "max_seconds": 1,
    "notes": {
      "assumed": [],
      "did_not_match": [],
      "summary": "example"
    },
    "price": {
      "currency": "USD",
      "generated_media": 1.0,
      "generated_media_budget": 1.0,
      "media": 1.0,
      "media_minutes": {
        "audio": 1.0,
        "video": 1.0
      },
      "per_audio_minute": 1.0,
      "per_generated_credit": 1.0,
      "per_video_minute": 1.0,
      "reused_media": {
        "files": [],
        "media": 0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        }
      },
      "total": 1.0,
      "video": 1.0
    },
    "progress": 1.0,
    "revision_id": "example",
    "revisions": [],
    "status": "queued",
    "variation_scope": "portion",
    "videos": []
  }
}

Get balance

Get balance.

Inputs

None.

Outputs

dataobject
Response.
Example output
{
  "data": {
    "balance": 1.0,
    "billing": "prepaid",
    "currency": "USD",
    "held": 1.0,
    "max_running": 1,
    "next_tier": {
      "max_running": 1,
      "paid_in": 1.0,
      "tier": 1
    },
    "paid_in": 1.0,
    "tier": 1
  }
}

Get usage

Get usage.

Inputs

Start datestart_datedate
The first UTC day counted, such as 2026-11-01.
End dateend_datedate
The day after the last one counted.

Outputs

dataobject
Response.
Example output
{
  "data": {
    "charged": 1.0,
    "completed": 1,
    "currency": "USD",
    "days": [],
    "failed": 1,
    "from": "example",
    "price_multiplier": 1.0,
    "to": "example",
    "videos": 1,
    "working": 1
  }
}

Get video

Get video.

Inputs

Videovideo_idtextRequired
A video's id (`vid_…`), or one of its cuts' ids (`vid_…_2`).

Outputs

dataobject
Response.
Example output
{
  "data": {
    "change": {
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "generated_media": 1.0,
        "generated_media_budget": 1.0,
        "media": 1.0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        },
        "per_audio_minute": 1.0,
        "per_generated_credit": 1.0,
        "per_video_minute": 1.0,
        "reused_media": {
          "files": [],
          "media": 0,
          "media_minutes": {}
        },
        "total": 1.0,
        "video": 1.0
      },
      "resolution": "example",
      "status": "queued",
      "video_id": "example",
      "video_ids": []
    },
    "completed_at": "example",
    "created_at": "example",
    "effort": "low",
    "error": {
      "code": "LINK_INVALID",
      "message": "example"
    },
    "expires_at": null,
    "id": "example",
    "last_change": {
      "error": {
        "code": "LINK_INVALID",
        "message": "example"
      },
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "total": 1.0
      },
      "status": "completed",
      "video_id": "example",
      "video_ids": []
    },
    "max_seconds": 1,
    "notes": {
      "assumed": [],
      "did_not_match": [],
      "summary": "example"
    },
    "price": {
      "currency": "USD",
      "generated_media": 1.0,
      "generated_media_budget": 1.0,
      "media": 1.0,
      "media_minutes": {
        "audio": 1.0,
        "video": 1.0
      },
      "per_audio_minute": 1.0,
      "per_generated_credit": 1.0,
      "per_video_minute": 1.0,
      "reused_media": {
        "files": [],
        "media": 0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        }
      },
      "total": 1.0,
      "video": 1.0
    },
    "progress": 1.0,
    "revision_id": "example",
    "revisions": [],
    "status": "queued",
    "variation_scope": "portion",
    "videos": []
  }
}

List videos

List videos.

Inputs

Statusstatustext
A video status, or `working` for every video still being made (a finished video with a change under way counts as working).One of: working, queued, importing, analysing, editing, rendering, completed, failed.
Start datestart_datedate
The first UTC day counted, such as 2026-11-01.
End dateend_datedate
The day after the last one counted.
Beforebeforetext
The `next_before` of the page before this one.
Limitlimitnumber
Videos a page, 1 to 100.From 1 to 100. Default: 25.

Outputs

dataobject
Response.
Example output
{
  "data": {
    "next_before": "example",
    "videos": []
  }
}

Revise video

Revise video.

Inputs

Videovideo_idtextRequired
A video's id (`vid_…`), or one of its cuts' ids (`vid_…_2`).
Idempotency keyidempotency_keytext
Use the same key when retrying the same operation.
Promptprompttext
What to change.
Footagefootagelist
More footage, or an image of a marked-up frame showing what to change. Charged as media sent, even on a free revision.
Referencesreferenceslist
References.
Max pricemax_pricenumber
Dollars. The most this revision may cost.From 0 to 10000.
Video IDsvideo_idslist
The cuts of this video to change, for one change made on several cuts. Each is priced as a revision of its own.
Filenamefilenametext
The name the files this revision renders download as. Left out, the create's `filename` (or `video.mp4`).

Outputs

dataobject
Response.
Example output
{
  "data": {
    "change": {
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "generated_media": 1.0,
        "generated_media_budget": 1.0,
        "media": 1.0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        },
        "per_audio_minute": 1.0,
        "per_generated_credit": 1.0,
        "per_video_minute": 1.0,
        "reused_media": {
          "files": [],
          "media": 0,
          "media_minutes": {}
        },
        "total": 1.0,
        "video": 1.0
      },
      "resolution": "example",
      "status": "queued",
      "video_id": "example",
      "video_ids": []
    },
    "completed_at": "example",
    "created_at": "example",
    "effort": "low",
    "error": {
      "code": "LINK_INVALID",
      "message": "example"
    },
    "expires_at": null,
    "id": "example",
    "last_change": {
      "error": {
        "code": "LINK_INVALID",
        "message": "example"
      },
      "id": "example",
      "kind": "revision",
      "price": {
        "currency": "USD",
        "total": 1.0
      },
      "status": "completed",
      "video_id": "example",
      "video_ids": []
    },
    "max_seconds": 1,
    "notes": {
      "assumed": [],
      "did_not_match": [],
      "summary": "example"
    },
    "price": {
      "currency": "USD",
      "generated_media": 1.0,
      "generated_media_budget": 1.0,
      "media": 1.0,
      "media_minutes": {
        "audio": 1.0,
        "video": 1.0
      },
      "per_audio_minute": 1.0,
      "per_generated_credit": 1.0,
      "per_video_minute": 1.0,
      "reused_media": {
        "files": [],
        "media": 0,
        "media_minutes": {
          "audio": 1.0,
          "video": 1.0
        }
      },
      "total": 1.0,
      "video": 1.0
    },
    "progress": 1.0,
    "revision_id": "example",
    "revisions": [],
    "status": "queued",
    "variation_scope": "portion",
    "videos": []
  }
}

On this page