API reference · Platform
Elements
Your reusable references: places, props and styles.
GET/v1/elementsFree
Elements are reusable prompt references (up to 50 per account): a place, a prop or a visual style with a description the prompt-engineering layer folds into any render, and an optional reference photo that joins the engine references. Characters are referenced as char:<id> in elements arrays — they live on their own endpoints in the studio.
POST /v1/elements creates one (kind location|object|style, name, description, optional imageUrl); DELETE /v1/elements/{id} removes it. Pass their ids in the elements array of chat, image and video generations.
curl https://eroq.ai/v1/elements \
-H "Authorization: Bearer $EROQ_API_KEY"/v1/elements
→ GET /v1/elements
Press run — this replays a real exchange from the docs' own data. No key, no request, no charge.
Response
200 · application/json
{
"elements": [{
"id": "0b6c…", "kind": "location", "name": "Rooftop bar",
"description": "rooftop cocktail bar at dusk, string lights", "imageUrl": ""
}]
}