API 레퍼런스 · 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, 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.

요청 본문

promptstring

The draft. Empty = invent one.

kindstring

video (default), image or element.

elementKindstring

kind: element only — location, object (default) or style.

namestring

kind: element only — the element's name, so the description fits it.

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
실행을 눌러 보세요 — 문서에 담긴 데이터로 실제 요청과 응답을 그대로 재현해요. 키도, 요청도, 요금도 없어요.

응답

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