prompt-run
The «Run» of the site's /prompt-generator. For chat and code prompts — the model's answer (under 2500 characters). For image, video and music prompts nothing is generated: you get a critical description of what such a model would produce and which details the prompt leaves open. Priced exactly like the page, per call. ASYNCHRONOUS: returns 202 with a run id — poll GET /v1/runs/{id} or register a webhook.
v1 beta server · 1190 tokens
Price (server): 1190 tokens per call; paid plans: −5%, rounded up. The exact figure for your file: POST /v1/tools/prompt-run/estimate.
Call it
POST https://tembrica.com/v1/tools/prompt-run/runs
Authorization: Bearer $TIMBRICA_KEY
Idempotency-Key: <your retry-safe key>
Content-Type: application/json
Input
| Field | Type | Required | Notes |
|---|---|---|---|
prompt | string | yes |
The prompt to try.
max length: 8000 |
target | string | no |
What kind of model it is for.
one of: chat, image, video, code, music default: chat |
model | string | no |
Optional: the model by name, from the target's list — chat (chatgpt, claude, gemini, deepseek, gigachat, yandexgpt, grok, qwen); image (nano-banana, gpt-image, midjourney, flux, stable-diffusion, ideogram, kandinsky, shedevrum); video (sora, veo, kling, runway, hailuo, pika); code (chatgpt, claude, deepseek, copilot, cursor, qwen); music (suno, udio).
one of: chatgpt, claude, gemini, deepseek, gigachat, yandexgpt, grok, qwen, nano-banana, gpt-image, midjourney, flux, stable-diffusion, ideogram, kandinsky, shedevrum, sora, veo, kling, runway, hailuo, pika, copilot, cursor, suno, udio |
Errors it can return
validation_failed
insufficient_tokens
concurrency_limited
upstream_unavailable
History
- v1 — 2026-11-20 — Initial release (server lane, async, the site's price per call).
This contract cannot change without a new version and a line above: a test compares the published schema, pricing and limits against a committed lockfile and fails the build otherwise. Subscribe to /v1/changelog to be told when something moves.