API 레퍼런스 · Platform
Prompt enhance
Rewrite a draft into a director-grade prompt — free.
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, or element — a reusable visual description of a place, object or style, sized for the element's 600-character description); model tunes the phrasing to an engine; elements passes library ids the writer must feature — their @Name mentions are kept verbatim.
요청 본문
The draft. Empty = invent one.
video (default), image or element.
kind: element only — location, object (default) or style.
kind: element only — the element's name, so the description fits it.
Target model id — phrasing adapts to the engine.
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"
}'응답
{
"prompt": "A solitary young woman on a rain-slicked rooftop at night, city bokeh behind her…"
}