BlockRun AI Inference
Available through BlockRun AI Gateway
OpenAPIGenerate text, images, audio, and video, and search the web through a unified model gateway.Endpoints
Endpoint details are saved from the OpenAPI document. Authentication requirements and prices are advertised information, not a verified payment or access guarantee. The document may contain additional endpoints.POST/api/v1/audio/generations
Music Generation
Generate music tracks with MiniMax Music 2.5+. Provide a text prompt describing the song; optionally supply lyrics or set instrumental=true. Flat price per track regardless of duration.Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/audio/sound-effects
Sound Effects (ElevenLabs)
Generate a cinematic sound effect from a text prompt (up to 22s). Flat price per generation.0.0535 USDThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/audio/speech
Text-to-Speech (ElevenLabs)
Synthesize speech from text with ElevenLabs (Flash v2.5 for real-time agents, Multilingual v2 / Eleven v3 for narration). Billed per input character; the exact price is quoted in the 402. Returns a hosted MP3 URL.Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.GET/api/v1/audio/voices
List Voices (free)
List available ElevenLabs voices and their aliases for use with /v1/audio/speech. Free.Price unavailablePOST/api/v1/chat/completions
Chat Completions
Access 80 frontier LLMs with OpenAI-compatible API. Price depends on model and token usage.Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/images/generations
Image Generation
Generate images with GPT Image 1, ChatGPT Images 2.0, Nano Banana, or Grok Imagine.Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/images/image2image
Image-to-Image Edit
Edit or vary an existing image with a text prompt. Send the source image (and optional mask) as a base64 data URI. OpenAI gpt-image-1 / gpt-image-2 support mask-based inpainting; the Google nano-banana family (nano-banana, nano-banana-2, nano-banana-pro) does prompt-only edits (mask not supported).Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/messages
Anthropic Messages
Anthropic-shaped Messages API. Send Claude-style requests (system + messages array, tools, tool_choice) and BlockRun routes them through the right upstream provider. Token-priced like /chat/completions.Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/responses
OpenAI Responses API
OpenAI-shaped Responses API — the native protocol for Codex CLI and agents that need tools + reasoning on gpt-5.x. Same body shape as api.openai.com/v1/responses; token-priced like /chat/completions. Stateless gateway: store:false is enforced and previous_response_id / conversation / background are rejected — resend full context per call and use include: ["reasoning.encrypted_content"] for reasoning continuity.Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/search
Grok Live Search
Real-time web and news search powered by xAI Grok with live data access.Price unavailableThe operation requires declared authentication; API keys, bearer tokens and other schemes are not evidence of AEP support.POST/api/v1/videos/generations