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…"
}