generate_text
Create AI-generated text from prompts using AI Gateway language models, with optional image, video, audio, or PDF inputs for multimodal summaries and answers.
Instructions
Generate text with any AI Gateway language model (e.g. "openai/gpt-5.5", "anthropic/claude-sonnet-5"). Billed to this deployment owner's AI Gateway credits. With file_urls, the model reads images, videos, audio or PDFs too, e.g. Gemini ("google/gemini-3.5-flash-lite") watching a video to summarize it; list_models shows what each model reads. Links must be https; links returned by this server work.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model id from list_models, e.g. "google/gemini-3-flash" | |
| prompt | Yes | ||
| system | No | Optional system instructions | |
| file_urls | No | Images, videos, audio or PDFs for the model to read, 20 MB in total at most | |
| max_tokens | No |