API reference · Platform

Prompt enhance

Rewrite a draft into a director-grade prompt — free.

POST/v1/prompts/enhanceFree

The sparkle button as an API: give it a rough draft (or nothing) and it answers with one production-grade prompt. kind picks the register (video default, image); model tunes the phrasing to an engine; elements passes library ids the writer must feature — their @Name mentions are kept verbatim.

Request body

promptstring

The draft. Empty = invent one.

kindstring

video (default) or image.

modelstring

Target model id — phrasing adapts to the engine.

elementsarray

Element ids to feature (characters as char:<id>).

curl https://eroq.ai/v1/prompts/enhance \
  -H "Authorization: Bearer $EROQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "prompt": "a girl on a rooftop at night",
  "kind": "video"
}'
/v1/prompts/enhance
→ POST /v1/prompts/enhance
Press run — this replays a real exchange from the docs' own data. No key, no request, no charge.

Response

200 · application/json
{
  "prompt": "A solitary young woman on a rain-slicked rooftop at night, city bokeh behind her…"
}