prompt-improve
The «Improve» of the site's /prompt-generator: returns a PROMPT, not an answer to it — structured for the target model kind. Prompts for image, video and music models come back in English (the native language of those models), others stay in the language of the input. 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 · 520 tokens
Price (server): 520 tokens per call; paid plans: −5%, rounded up. The exact figure for your file: POST /v1/tools/prompt-improve/estimate.
Call it
POST https://tembrica.com/v1/tools/prompt-improve/runs
Authorization: Bearer $TIMBRICA_KEY
Idempotency-Key: <your retry-safe key>
Content-Type: application/json
Input
| Field | Type | Required | Notes |
|---|---|---|---|
prompt | string | yes |
Your prompt as it is now.
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 |
lang | string | no |
Interface language of the person writing the prompt. Two-letter code.
one of: ru, en, es, pt, fr, de, id, ar, ko, uk, tr default: en |
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.