Server definition
- Hash
- sha256:4e74175f7b2f45f0d8d2ef2dcb1f816fc7216cde06ff177b7815744679a87f5b
- What it is
- What a remote MCP server returned when asked what it offers: 24 tools
The blob, as servednamed by its sha256
{
"instructions": "vibedgames hosts browser games at {slug}.vibedgames.com and gives coding agents the abilities of a game studio. Start with `skills` for how to build, art-direct and ship a game; `generate_image`, `generate_video`, `generate_speech`, `generate_music`, `generate_sound`, `generate_3d`, `generate_animate_3d` and `generate_remove_background` make its assets on default models, `generate` runs any other model; `deploy` puts it live. If you have a shell, the `vg` CLI does all of this in one step per job: `npx vibedgames deploy ./dist` with `VG_TOKEN` set to the same API key. Each tool here is named for its `vg` command, spaces as `_` (`vg generate run` is `generate`). To deploy with the tool: call `deploy` with `bundle: true`, PUT the built game as one gzipped tar (`tar -czf game.tgz -C dist .`, index.html at its root) to `bundleUpload` (`curl -T game.tgz -H 'Content-Type: application/gzip' \"$url\"`), then call `deploy` with the `deploymentId` and `publish: true`. With no shell, send text files in `files` and generated assets as `encoding: url`, which the server fetches, rather than downloading them. Big bytes never ride a tool call: uploads go to URLs on this server (generate_upload for a model input), and fork returns a URL to download source from. A client with the io.modelcontextprotocol/tasks extension gets a generation back as a task as soon as it is queued, to follow with tasks/get. A task's `taskId` is only for tasks/get and tasks/cancel; its `_meta[\"com.vibedgames/generation\"]` names the `endpoint_id` and `request_id` that generate_status and `vg generate status <endpoint_id> <request_id>` take. The skills are also `skill://` resources (the io.modelcontextprotocol/skills extension: skills/list, skills/get), supporting files included. Connect with OAuth, or send an API key as `Authorization: Bearer vg_…`; create one at vibedgames.com/settings.",
"tools": [
{
"description": "Returns the caller's generation credit balance in micro-USD (1,000,000 = $1), their 100 most recent ledger entries, whether card purchases are open, and whether the caller must confirm their email before redeeming a code.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "credits",
"outputSchema": {
"additionalProperties": false,
"properties": {
"balanceMicro": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"entries": {
"items": {
"additionalProperties": false,
"properties": {
"createdAt": {
"format": "date-time",
"type": "string",
"x-native-type": "date"
},
"deltaMicro": {
"description": "Signed micro-USD: positive is a grant or refund.",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"endpointId": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"kind": {
"enum": [
"signup_grant",
"admin_grant",
"code_redeem",
"purchase",
"generation_hold",
"generation_settle",
"generation_release"
],
"type": "string"
},
"note": {
"type": [
"string",
"null"
]
},
"requestId": {
"type": [
"string",
"null"
]
}
},
"required": [
"createdAt",
"deltaMicro",
"endpointId",
"id",
"kind",
"note",
"requestId"
],
"type": "object"
},
"type": "array"
},
"mustVerifyEmail": {
"description": "True until the caller confirms their email address; `credits.redeem` answers 412 meanwhile.",
"type": "boolean"
},
"purchasesEnabled": {
"description": "Whether `credits.checkout` takes card payments; when false, credit comes from codes.",
"type": "boolean"
}
},
"required": [
"balanceMicro",
"entries",
"mustVerifyEmail",
"purchasesEnabled"
],
"type": "object"
}
},
{
"description": "Starts a card payment for `amountUsd` of generation credit and returns a hosted checkout URL for a person to open. The credit lands once the payment clears, usually within seconds of paying. 412 while card purchases aren't open (`purchasesEnabled` is false on `credits.me`).",
"inputSchema": {
"properties": {
"amountUsd": {
"description": "Whole dollars of credit to buy, 5–500. One dollar paid is one dollar of credit.",
"maximum": 500,
"minimum": 5,
"type": "integer"
}
},
"required": [
"amountUsd"
],
"type": "object"
},
"name": "credits_buy",
"outputSchema": {
"additionalProperties": false,
"properties": {
"url": {
"format": "uri",
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
}
},
{
"description": "Redeems a credit code for the caller, adding its value to their balance. Each account can redeem a given code once. 403 when the code is unknown, expired, revoked or used up; 409 when this account already redeemed it; 412 until the account's email address is confirmed.",
"inputSchema": {
"properties": {
"code": {
"description": "The credit code to redeem, as you were given it, e.g. `ABC123`; case and surrounding spaces don't matter",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"name": "credits_redeem",
"outputSchema": {
"additionalProperties": false,
"properties": {
"balanceMicro": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"creditedMicro": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"balanceMicro",
"creditedMicro"
],
"type": "object"
}
},
{
"description": "Deploys a game. The usual way: pass `bundle: true`, PUT a gzipped tar of the built game (`tar -czf game.tgz -C dist .`, `index.html` at its root) to the `bundleUpload` URL it returns, then call again with the `deploymentId` and `publish: true`; publish unpacks it. Files can also be given one by one: `files` carries `utf-8` text, or with `encoding: url` the URL of an asset generate made, which the server fetches itself (up to 32 MB a call); `presign` takes a file's path, size and SHA-256 and returns a signed PUT URL for it in `uploads`. Upload URLs are on this server and last 15 minutes. A call without `deploymentId` stages a new deployment beside the live one; later calls pass it back to add or replace files. `publish: true` requires `index.html` and every presigned file at its declared size, makes the deployment live at `{slug}.vibedgames.com` and only then removes the previous one, so the game never goes dark mid-upload. With `source: true` publish also keeps the deployment's files as the game's forkable source (up to 64 MB); a caller with its own source archive passes `sourceArchive` instead and PUTs it to `sourceUpload`. 403 when the slug belongs to someone else.",
"inputSchema": {
"properties": {
"bundle": {
"default": false,
"description": "true returns a `bundleUpload` URL to PUT the whole built game to as one gzipped tar, `index.html` at its root (`tar -czf game.tgz -C dist .`); a later call with `publish: true` unpacks it. The usual way in. Default false",
"type": "boolean"
},
"deploymentId": {
"description": "The `deploymentId` an earlier deploy call for this slug returned, to add files to that staged deployment or publish it; omit to stage a new one",
"type": "string"
},
"files": {
"default": [],
"description": "Files sent in the call itself: text, or a generated asset's URL with `encoding: url`. A path already staged is replaced. Default none",
"items": {
"properties": {
"content": {
"description": "The file's text, or with `encoding: url` a generated asset's URL",
"type": "string"
},
"contentType": {
"description": "The MIME type to serve the file with, e.g. `text/html; charset=utf-8`; omit to infer it from the path's extension",
"maxLength": 127,
"minLength": 1,
"type": "string"
},
"encoding": {
"default": "utf-8",
"description": "How to read `content`: `utf-8` (the default) stores it as the file's text; `url` fetches it from a URL a generate tool returned (other hosts are refused), up to 10 MB a file and 32 MB a call",
"enum": [
"utf-8",
"url"
],
"type": "string"
},
"path": {
"description": "The file's path from the game's root, e.g. `index.html` or `assets/hero.png`; no leading `/` and no `..`",
"maxLength": 512,
"minLength": 1,
"type": "string"
}
},
"required": [
"content",
"path"
],
"type": "object"
},
"maxItems": 500,
"type": "array"
},
"name": {
"description": "The game's display name, up to 120 characters, e.g. `Space Pong`; omit to keep the name it has",
"maxLength": 120,
"type": "string"
},
"presign": {
"default": [],
"description": "Files you PUT yourself: each returns a signed URL in `uploads`, valid 15 minutes, to PUT its bytes to with the `headers` given; list a file again to renew its URL. Default none",
"items": {
"properties": {
"contentType": {
"description": "The MIME type to serve the file with, and the Content-Type to PUT it with, e.g. `image/png`; omit to infer it from the path's extension",
"maxLength": 127,
"minLength": 1,
"type": "string"
},
"path": {
"description": "The file's path from the game's root, e.g. `index.html` or `assets/hero.png`; no leading `/` and no `..`",
"maxLength": 512,
"minLength": 1,
"type": "string"
},
"sha256": {
"description": "The SHA-256 of the file's bytes as 64 hex characters, as `sha256sum` prints it",
"maxLength": 64,
"minLength": 64,
"type": "string"
},
"size": {
"description": "The file's exact size in bytes, at most 10485760 (10 MB); publish checks the uploaded file has this size",
"maximum": 10485760,
"minimum": 0,
"type": "integer"
}
},
"required": [
"path",
"sha256",
"size"
],
"type": "object"
},
"maxItems": 500,
"type": "array"
},
"publish": {
"default": false,
"description": "true makes the staged deployment live at `{slug}.vibedgames.com` once this call's files are in (it needs `index.html` and every presigned file at its declared size), then removes the previous one. Default false: the files stay staged",
"type": "boolean"
},
"slug": {
"description": "The game's slug, which makes its address `{slug}.vibedgames.com`: 3 to 40 lowercase letters, digits and hyphens, no hyphen at either end, e.g. `space-pong`. A new slug becomes your game, one another account owns is refused; pass the same one on every call of a deployment",
"maxLength": 40,
"minLength": 3,
"pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
"type": "string"
},
"source": {
"default": false,
"description": "With `publish: true`, also keep the deployment's files (up to 64 MB) as the game's forkable source, which fork downloads. Default false; not with `sourceArchive`",
"type": "boolean"
},
"sourceArchive": {
"description": "Your own forkable source archive (a .tar.gz of the project, what `vg deploy --source` packs), which you PUT to the `sourceUpload` URL this call returns; omit for none. Not with `source: true`",
"properties": {
"bytes": {
"description": "The archive's exact size in bytes, at most 104857600 (100 MB); publish checks the upload has this size",
"exclusiveMinimum": 0,
"maximum": 104857600,
"type": "integer"
},
"sha256": {
"description": "The SHA-256 of the archive's bytes as 64 hex characters",
"maxLength": 64,
"minLength": 64,
"type": "string"
}
},
"required": [
"bytes",
"sha256"
],
"type": "object"
}
},
"required": [
"slug"
],
"type": "object"
},
"name": "deploy",
"outputSchema": {
"additionalProperties": false,
"properties": {
"bundleUpload": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": false,
"properties": {
"content-type": {
"type": "string"
}
},
"required": [
"content-type"
],
"type": "object"
},
"url": {
"type": "string"
}
},
"required": [
"headers",
"url"
],
"type": "object"
},
{
"type": "null"
}
]
},
"deploymentId": {
"type": "string"
},
"fileCount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"gameId": {
"type": "string"
},
"published": {
"type": "boolean"
},
"sourceUpload": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": false,
"properties": {
"content-type": {
"type": "string"
}
},
"required": [
"content-type"
],
"type": "object"
},
"url": {
"type": "string"
}
},
"required": [
"headers",
"url"
],
"type": "object"
},
{
"type": "null"
}
]
},
"totalBytes": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"uploads": {
"items": {
"additionalProperties": false,
"properties": {
"headers": {
"additionalProperties": false,
"properties": {
"content-type": {
"type": "string"
}
},
"required": [
"content-type"
],
"type": "object"
},
"path": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"headers",
"url",
"path"
],
"type": "object"
},
"type": "array"
},
"url": {
"type": [
"string",
"null"
]
}
},
"required": [
"bundleUpload",
"deploymentId",
"fileCount",
"gameId",
"published",
"sourceUpload",
"totalBytes",
"uploads",
"url"
],
"type": "object"
}
},
{
"description": "Lists the caller's games, most recently updated first, each with its live deployment.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "deployments",
"outputSchema": {
"additionalProperties": false,
"properties": {
"games": {
"items": {
"additionalProperties": false,
"properties": {
"createdAt": {
"format": "date-time",
"type": "string",
"x-native-type": "date"
},
"currentDeploymentId": {
"type": [
"string",
"null"
]
},
"deployment": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"createdAt": {
"format": "date-time",
"type": "string",
"x-native-type": "date"
},
"fileCount": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"id": {
"type": "string"
},
"status": {
"enum": [
"pending",
"ready",
"failed"
],
"type": "string"
},
"totalBytes": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
}
},
"required": [
"createdAt",
"fileCount",
"id",
"status",
"totalBytes"
],
"type": "object"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": [
"string",
"null"
]
},
"slug": {
"type": "string"
},
"updatedAt": {
"format": "date-time",
"type": "string",
"x-native-type": "date"
},
"userId": {
"type": "string"
}
},
"required": [
"createdAt",
"currentDeploymentId",
"deployment",
"id",
"name",
"slug",
"updatedAt",
"userId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"games"
],
"type": "object"
}
},
{
"description": "Permanently deletes one of the caller's games and all of its deployed files.",
"inputSchema": {
"properties": {
"gameId": {
"description": "The id of one of your games: a game's `id` in the deployments list, or the `gameId` deploy returned",
"type": "string"
}
},
"required": [
"gameId"
],
"type": "object"
},
"name": "deployments_delete",
"outputSchema": {
"additionalProperties": false,
"properties": {
"success": {
"const": true,
"type": "boolean"
}
},
"required": [
"success"
],
"type": "object"
}
},
{
"description": "Returns a one-hour download URL for a game's forkable source archive. Any signed-in user may fork any game that shipped source. Backs `vg fork`.",
"inputSchema": {
"properties": {
"slug": {
"description": "The slug of the game to fork, as in its address `{slug}.vibedgames.com`, e.g. `space-pong`; any game deployed with source can be forked",
"maxLength": 40,
"minLength": 3,
"pattern": "^[a-z0-9][a-z0-9-]*[a-z0-9]$",
"type": "string"
}
},
"required": [
"slug"
],
"type": "object"
},
"name": "fork",
"outputSchema": {
"additionalProperties": false,
"properties": {
"bytes": {
"anyOf": [
{
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
{
"type": "null"
}
]
},
"name": {
"type": [
"string",
"null"
]
},
"slug": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"bytes",
"name",
"slug",
"url"
],
"type": "object"
}
},
{
"description": "Runs a model to generate an image, video, audio clip, 3D model or text, billed against your credits. Pass the endpoint id and the model's input (see generate_schema). Waits up to `wait_seconds` for the result; a job still running by then returns its `request_id` and status, to follow with generate_status. Needs a positive credit balance (403 `insufficient_credits`) and a priced model (400 `unknown_endpoint`).",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"endpoint_id": {
"description": "A model's endpoint id, as generate models lists it, e.g. `fal-ai/flux/dev`",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"input": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"description": "The model's input, per generate schema",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"required": [
"endpoint_id",
"input"
],
"type": "object"
},
"name": "generate",
"outputSchema": null
},
{
"description": "Generates a textured 3D model (GLB) from a prompt, or from an image when `image_url` is given (Meshy 7.1: `meshy/v7.1/text-to-3d`, `meshy/v7.1/image-to-3d`); a low `target_polycount` suits games. To animate a character, model it with `pose_mode` and pass its `model_glb` to generate_animate_3d. Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"image_url": {
"description": "An image's URL, e.g. from generate upload",
"format": "uri",
"type": "string"
},
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"pose_mode": {
"description": "Model a character in this pose, which rigs cleanly in animate-3d",
"enum": [
"a-pose",
"t-pose"
],
"type": "string"
},
"prompt": {
"description": "What to model; needed without image_url",
"maxLength": 600,
"minLength": 1,
"type": "string"
},
"target_polycount": {
"description": "The mesh's polygon budget, 100 to 300,000; the model's default is 30,000. Games suit 5,000 to 15,000 for a prop, 15,000 to 40,000 for a hero character",
"maximum": 300000,
"minimum": 100,
"type": "integer"
},
"topology": {
"description": "The mesh's faces: `triangle` (the model's default) keeps detail, `quad` gives smoother surfaces",
"enum": [
"quad",
"triangle"
],
"type": "string"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"name": "generate_3d",
"outputSchema": null
},
{
"description": "Rigs a humanoid character GLB, e.g. one generate_3d made, and bakes animation clips onto that one skeleton: a GLB per `animation_action_ids` entry from Meshy's animation library, plus walking and running (Meshy rigging: `meshy/rigging/multi-animation`). The 3d reference of the model-catalog skill lists the clip ids games use. Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"animation_action_ids": {
"description": "Up to 10 clips from Meshy's animation library, one GLB each, e.g. 0 for Idle",
"items": {
"maximum": 696,
"minimum": 0,
"type": "integer"
},
"maxItems": 10,
"minItems": 1,
"type": "array"
},
"height_meters": {
"description": "The character's height, 1.7 by default",
"exclusiveMinimum": 0,
"maximum": 100,
"type": "number"
},
"model_url": {
"description": "The character's GLB, e.g. generate 3d's model_glb",
"format": "uri",
"type": "string"
},
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"required": [
"animation_action_ids",
"model_url"
],
"type": "object"
},
"name": "generate_animate_3d",
"outputSchema": null
},
{
"description": "Searches the model documentation: how a model is prompted, what its inputs mean, which to pick for a task.",
"inputSchema": {
"properties": {
"query": {
"description": "What to look up, in plain words and up to 500 characters, e.g. `how to prompt seedance camera moves`",
"maxLength": 500,
"minLength": 1,
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
},
"name": "generate_docs",
"outputSchema": {
"properties": {
"result": {
"$defs": {
"JsonValue": {
"$ref": "#/properties/result/$defs/__schema0"
},
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/properties/result/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/properties/result/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"$ref": "#/properties/result/$defs/JsonValue",
"description": "The upstream response body, or null when it had none."
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Generates images from a prompt, or edits and combines reference images when `image_urls` is given (GPT Image 2.5: `openai/gpt-image-2.5/flare/text-to-image`, `openai/gpt-image-2.5/flare/edit`). `background: transparent` makes sprites and props with no background to remove. Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"background": {
"description": "`transparent` leaves no background, for sprites and props; `opaque` always fills one; `auto` lets the model choose. Omit for the model's default",
"enum": [
"auto",
"transparent",
"opaque"
],
"type": "string"
},
"image_size": {
"description": "A preset; pass `{width, height}` through options for an exact size",
"enum": [
"auto",
"square_hd",
"square",
"portrait_4_3",
"portrait_16_9",
"landscape_4_3",
"landscape_16_9"
],
"type": "string"
},
"image_urls": {
"description": "Images to edit or combine",
"items": {
"description": "An image's URL, e.g. from generate upload",
"format": "uri",
"type": "string"
},
"maxItems": 16,
"minItems": 1,
"type": "array"
},
"num_images": {
"description": "How many images to make from the one prompt, 1 to 4; omit for the model's default",
"maximum": 4,
"minimum": 1,
"type": "integer"
},
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"prompt": {
"description": "What to draw, or with image_urls how to edit or combine them, up to 5,000 characters, e.g. `pixel-art knight sprite, side view`",
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
"quality": {
"description": "Rendering quality from `low` (quick drafts) to `max`; higher takes longer and may cost more (see generate pricing). `auto` lets the model choose; omit for the model's default",
"enum": [
"auto",
"low",
"medium",
"high",
"xhigh",
"max"
],
"type": "string"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"required": [
"prompt"
],
"type": "object"
},
"name": "generate_image",
"outputSchema": null
},
{
"description": "Searches the models generate can run, by what they do (`query`) or by id, with a cursor for the next page.",
"inputSchema": {
"properties": {
"category": {
"description": "Only models in this category, e.g. `text-to-image`, `image-to-video`",
"maxLength": 128,
"type": "string"
},
"cursor": {
"description": "The `next_cursor` of a previous result, for the page after it; omit for the first page",
"maxLength": 512,
"type": "string"
},
"endpoint_id": {
"description": "Endpoint ids to look up directly instead of searching, e.g. `fal-ai/flux/dev`",
"items": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"maxItems": 50,
"type": "array"
},
"expand": {
"description": "Extra fields to include per model: `openapi-3.0`, `enterprise_status`",
"items": {
"enum": [
"openapi-3.0",
"enterprise_status"
],
"type": "string"
},
"type": "array"
},
"limit": {
"default": 20,
"description": "How many models to return per page, 1 to 100; default 20",
"maximum": 100,
"minimum": 1,
"type": "integer"
},
"query": {
"description": "Free text, e.g. `pixel art sprite`",
"maxLength": 500,
"type": "string"
},
"status": {
"description": "`deprecated` or `all` to include models past their prime; omit for active models",
"enum": [
"active",
"deprecated",
"all"
],
"type": "string"
}
},
"type": "object"
},
"name": "generate_models",
"outputSchema": {
"properties": {
"result": {
"$defs": {
"JsonValue": {
"$ref": "#/properties/result/$defs/__schema0"
},
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/properties/result/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/properties/result/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"$ref": "#/properties/result/$defs/JsonValue",
"description": "The upstream response body, or null when it had none."
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Composes music from a prompt: genre, mood, instruments, structure (ElevenLabs Music v2.5: `elevenlabs/music/v2.5`). Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"force_instrumental": {
"description": "true makes a track with no vocals; omit to let the prompt decide",
"type": "boolean"
},
"music_length_ms": {
"description": "The track's length in milliseconds, 3,000 to 600,000 (3 seconds to 10 minutes), e.g. 60000 for a minute; omit for the model's default",
"maximum": 600000,
"minimum": 3000,
"type": "integer"
},
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"prompt": {
"description": "The music to compose, up to 5,000 characters: genre, mood, instruments, tempo, structure, e.g. `upbeat chiptune boss battle loop, 140 bpm`",
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"required": [
"prompt"
],
"type": "object"
},
"name": "generate_music",
"outputSchema": null
},
{
"description": "A model's price per unit, which generate bills against your credits.",
"inputSchema": {
"properties": {
"endpoint_id": {
"description": "A model's endpoint id, as generate models lists it, e.g. `fal-ai/flux/dev`",
"maxLength": 256,
"minLength": 1,
"type": "string"
}
},
"required": [
"endpoint_id"
],
"type": "object"
},
"name": "generate_pricing",
"outputSchema": {
"properties": {
"result": {
"$defs": {
"JsonValue": {
"$ref": "#/properties/result/$defs/__schema0"
},
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/properties/result/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/properties/result/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"$ref": "#/properties/result/$defs/JsonValue",
"description": "The upstream response body, or null when it had none."
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Cuts the subject out of an image onto a transparent background, for sprites and props; `prompt` names what to keep when the cut is ambiguous (Bria Guided Remove Background: `bria/guided-remove-background`). Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"image_url": {
"description": "An image's URL, e.g. from generate upload",
"format": "uri",
"type": "string"
},
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"prompt": {
"description": "What to keep, e.g. the knight",
"maxLength": 500,
"minLength": 1,
"type": "string"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"required": [
"image_url"
],
"type": "object"
},
"name": "generate_remove_background",
"outputSchema": null
},
{
"description": "A model's input and output schema: what generate's `input` takes. `openapi` gives the full OpenAPI document.",
"inputSchema": {
"properties": {
"endpoint_id": {
"description": "A model's endpoint id, as generate models lists it, e.g. `fal-ai/flux/dev`",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"format": {
"default": "compact",
"description": "`compact` (the default) returns the model's catalog entry; `openapi` adds its full OpenAPI 3.0 document, with every input and output field",
"enum": [
"compact",
"openapi"
],
"type": "string"
}
},
"required": [
"endpoint_id"
],
"type": "object"
},
"name": "generate_schema",
"outputSchema": {
"properties": {
"result": {
"$defs": {
"JsonValue": {
"$ref": "#/properties/result/$defs/__schema0"
},
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/properties/result/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/properties/result/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"$ref": "#/properties/result/$defs/JsonValue",
"description": "The upstream response body, or null when it had none."
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Generates a sound effect from a description: a jump, a hit, an explosion, ambience (ElevenLabs Sound Effects: `elevenlabs/sound-effects/v3`). Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"duration_seconds": {
"description": "The sound's length in seconds, 0.5 to 30; omit to let the model fit the length to the sound",
"maximum": 30,
"minimum": 0.5,
"type": "number"
},
"loop": {
"description": "Make it loop seamlessly",
"type": "boolean"
},
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"text": {
"description": "The sound to make",
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "generate_sound",
"outputSchema": null
},
{
"description": "Speaks a line of text: dialogue, narration, an announcer (ElevenLabs v4, which takes audio tags for delivery: `elevenlabs/tts/eleven-v4`). Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"text": {
"description": "What to say",
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
"voice": {
"description": "A voice name, e.g. Rachel, Aria, Roger",
"minLength": 1,
"type": "string"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"required": [
"text"
],
"type": "object"
},
"name": "generate_speech",
"outputSchema": null
},
{
"description": "Follows a generate job: its status (`status`), its output once COMPLETED (`result`, which settles the bill), or `cancel`.",
"inputSchema": {
"properties": {
"action": {
"default": "status",
"description": "`status` (the default) reports where the job is; `result` fetches its output once COMPLETED, which settles the bill; `cancel` stops a job that is still queued or running",
"enum": [
"status",
"result",
"cancel"
],
"type": "string"
},
"endpoint_id": {
"description": "A model's endpoint id, as generate models lists it, e.g. `fal-ai/flux/dev`",
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"logs": {
"default": false,
"description": "Include the job's logs with its status",
"type": "boolean"
},
"request_id": {
"description": "The job's `request_id`, as generate returned it, with the endpoint_id it ran on",
"maxLength": 128,
"minLength": 1,
"type": "string"
}
},
"required": [
"endpoint_id",
"request_id"
],
"type": "object"
},
"name": "generate_status",
"outputSchema": {
"properties": {
"result": {
"$defs": {
"JsonValue": {
"$ref": "#/properties/result/$defs/__schema0"
},
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/properties/result/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/properties/result/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"$ref": "#/properties/result/$defs/JsonValue",
"description": "The upstream response body, or null when it had none."
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Opens an upload slot for a model input that takes a file's URL (a reference image, an audio clip to transform). PUT the file's bytes to `uploadUrl` (on this server, valid 15 minutes) with the `headers` given, e.g. `curl -T file.png -H 'Content-Type: image/png' \"$uploadUrl\"`, then pass `fileUrl` to the model.",
"inputSchema": {
"properties": {
"contentType": {
"description": "The file's MIME type, e.g. `image/png`; PUT the bytes with this Content-Type",
"maxLength": 127,
"minLength": 1,
"type": "string"
},
"fileName": {
"description": "The file's name with its extension, e.g. `hero.png`, up to 255 characters",
"maxLength": 255,
"minLength": 1,
"type": "string"
}
},
"required": [
"contentType",
"fileName"
],
"type": "object"
},
"name": "generate_upload",
"outputSchema": {
"additionalProperties": false,
"properties": {
"fileUrl": {
"type": "string"
},
"headers": {
"additionalProperties": false,
"properties": {
"content-type": {
"type": "string"
}
},
"required": [
"content-type"
],
"type": "object"
},
"uploadUrl": {
"type": "string"
}
},
"required": [
"fileUrl",
"headers",
"uploadUrl"
],
"type": "object"
}
},
{
"description": "Generates a video clip with sound from a prompt, or animates an image when `image_url` is given (Seedance 2.5: `bytedance/seedance-2.5/us/text-to-video`, `bytedance/seedance-2.5/us/image-to-video`). Video takes minutes: expect a `request_id` to follow with generate_status. Billed against your credits; waits up to `wait_seconds`, then returns the `request_id` to follow with generate_status.",
"inputSchema": {
"$defs": {
"__schema0": {
"anyOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
},
{
"items": {
"$ref": "#/$defs/__schema0"
},
"type": "array"
},
{
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"propertyNames": {
"type": "string"
},
"type": "object"
}
]
}
},
"properties": {
"aspect_ratio": {
"description": "The frame's width to height, e.g. `16:9` landscape, `9:16` portrait, `1:1` square; `auto` lets the model choose, e.g. from image_url. Omit for the model's default",
"enum": [
"auto",
"21:9",
"16:9",
"4:3",
"1:1",
"3:4",
"9:16"
],
"type": "string"
},
"duration": {
"description": "Seconds, 4 to 30",
"enum": [
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18",
"19",
"20",
"21",
"22",
"23",
"24",
"25",
"26",
"27",
"28",
"29",
"30",
"auto"
],
"type": "string"
},
"end_image_url": {
"description": "The last frame, with image_url",
"format": "uri",
"type": "string"
},
"generate_audio": {
"description": "false makes a silent clip; omit for the model's default, which generates sound with the video",
"type": "boolean"
},
"image_url": {
"description": "The first frame",
"format": "uri",
"type": "string"
},
"options": {
"additionalProperties": {
"$ref": "#/$defs/__schema0"
},
"default": {},
"description": "Any other input the model takes, per generate schema of its endpoint; the fields above win",
"propertyNames": {
"type": "string"
},
"type": "object"
},
"prompt": {
"description": "What happens; needed without image_url",
"maxLength": 5000,
"minLength": 1,
"type": "string"
},
"resolution": {
"description": "The clip's resolution; higher takes longer and may cost more (see generate pricing). Omit for the model's default",
"enum": [
"480p",
"720p",
"1080p"
],
"type": "string"
},
"wait_seconds": {
"default": 20,
"description": "How long to wait for the result before returning the request id",
"maximum": 25,
"minimum": 0,
"type": "integer"
}
},
"type": "object"
},
"name": "generate_video",
"outputSchema": null
},
{
"description": "The vibedgames game-studio skills: without `name`, every skill and what it is for; with one, its full SKILL.md — how to build, art-direct, add multiplayer to, balance and ship a browser game.",
"inputSchema": {
"properties": {
"name": {
"description": "A skill's name from the list",
"type": "string"
}
},
"type": "object"
},
"name": "skills",
"outputSchema": null
},
{
"description": "Returns the authenticated identity, whether the caller used a session cookie, a session token, an API key or an OAuth token. An OAuth token sees `email` only with the `email` scope, and `role` never. Backs `vg whoami`.",
"inputSchema": {
"properties": {},
"type": "object"
},
"name": "whoami",
"outputSchema": {
"additionalProperties": false,
"properties": {
"email": {
"type": [
"string",
"null"
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"role": {
"type": [
"string",
"null"
]
}
},
"required": [
"email",
"id",
"name",
"role"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:4e74175f7b2f45f0d8d2ef2dcb1f816fc7216cde06ff177b7815744679a87f5b | sha256sum