Skip to main content

FreeToolGenerateAltTextRequest

image_base64string

The image itself, base64-encoded without a data: prefix: JPEG, PNG, WebP or GIF (first frame), up to 5 MB. On the API you can upload the file as image in a multipart/form-data body instead. A request to the MCP server at /mcp/tools may be at most 1.5 MB, so send larger images as image_url there. Send this or image_url.

Possible values: <= 6990508 characters

image_urlstring

A public https URL of the image, up to 5 MB. Fetched once and never stored; each fetch also counts against the daily limit of the tools that load a URL. Send this or image_base64.

Possible values: <= 2000 characters, Value must match regular expression ^https://

contextstring

Optional: what the post is about, so the text describes what matters for it.

Possible values: <= 200 characters

lengthstring

short (up to 125 characters) or detailed (up to 250).

Possible values: [short, detailed]

Default value: short
workspacestring

UUID of the workspace whose AI credits pay for the call. Default: your active workspace (a scoped API key: its own workspace).

Possible values: <= 64 characters

FreeToolGenerateAltTextRequest
{
"image_base64": "string",
"image_url": "string",
"context": "string",
"length": "short",
"workspace": "string"
}