Platform
Creations library
Every image and video you rendered, with its recipe.
Free
Every /v1 image, video and speech render is saved to your creation library automatically (free) with the full recipe in meta — model, rack, seconds, references. Pass folder_id on the generation call (images, videos, video edits, speech, remove-background, film renders) and it lands straight in that folder. GET /v1/creations/{id} fetches one; PATCH /v1/creations/{id} moves it between folders ({ "folderId": … | null }) and hearts it ({ "favorite": true } — favoritedAt on every creation); DELETE removes it and its file.
Folders: GET /v1/folders lists them, POST /v1/folders ({ "name": … }) creates, PATCH /v1/folders/{id} renames, DELETE /v1/folders/{id} removes — deleting a folder keeps its creations (they fall back to the root).
Public folder links (Team, Agency and Enterprise). POST /v1/folders/{id}/share gives a folder a page anyone with the link can open, signed out — share.url (eroq.ai/f/…). Visitors see the files only: never a prompt, a model or your account; downloads: false makes it view-only. The page follows the folder (files you add appear), pauses while the workspace that shared it is off the business tier, and never gets indexed. DELETE /v1/folders/{id}/share kills the link at once — sharing again mints a new one. A role that cannot publish answers 403 role_forbidden; a plan below Team, 403 plan_required.
Community publishing. POST /v1/creations/{id}/publish puts a creation on the public shelf at eroq.ai/community and on your profile at eroq.ai/@username — title is its public face; an image or a clip shows its prompt unless you pass showPrompt: false (the rest of the recipe stays private, and a voice line never shows its script); durationSeconds overrides the badge with the exact measured length. DELETE …/publish pulls it back (likes, comments and views survive a re-publish). POST …/thumbnail (multipart file, image ≤ 5MB) sets the cover of a video or voice.
Autorização
Sua chave de API como bearer token: Bearer eroq_sk_…. Crie uma na página de chaves.
List your renders with folders and recipes
curl https://eroq.ai/v1/creations \
-H "Authorization: Bearer $EROQ_API_KEY"{
"folders": [{ "id": "…", "name": "Campaign A" }],
"creations": [{
"id": "…", "kind": "video", "url": "https://…", "model": "seedance-2-5",
"prompt": "slow pan over the rooftop", "meta": { "seconds": 10, "shot": "push-in" }
}]
}One creation, full meta
One creation, full meta — the Remix recipe.
Parâmetros de caminho
The creation's id, as listed or created.
curl https://eroq.ai/v1/creations/CREATION_ID \
-H "Authorization: Bearer $EROQ_API_KEY"{
"creation": {
"id": "4a17…", "kind": "video", "url": "https://cdn.eroq.ai/library/…/scene-1.mp4",
"model": "eroq-motion-one", "prompt": "slow pan over the rooftop",
"folderId": null, "publishedAt": null, "review": null,
"meta": { "seconds": 10, "shot": "push-in", "aspect": "16:9" },
"createdAt": "2026-09-11T14:02:11Z"
}
}Move it between folders
Move it between folders ({ "folderId": … | null }) and/or heart it ({ "favorite": true }).
Parâmetros de caminho
The creation's id, as listed or created.
Corpo
application/jsonTarget folder id, or null to move it back to the root.
true adds it to your favorites (stamps favoritedAt), false removes it.
curl -X PATCH https://eroq.ai/v1/creations/CREATION_ID \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"folderId": "FOLDER_ID",
"favorite": true
}'{ "ok": true, "url": "https://…", "public": false, "folderId": "c31f…", "favoritedAt": "2026-09-29T10:02:11Z" }Delete the creation and its file
Parâmetros de caminho
The creation's id, as listed or created.
curl -X DELETE https://eroq.ai/v1/creations/CREATION_ID \
-H "Authorization: Bearer $EROQ_API_KEY"{ "ok": true }Submit to the community shelf
Submit to the community shelf. Every publish is reviewed by our team first: review is pending, then approved (live) or rejected — readable on the creation. Publishing again keeps the verdict unless the title changes or a hidden prompt is shown; a rejected item is resubmitted.
Parâmetros de caminho
The creation's id, as listed or created.
Corpo
application/jsonPublic title, up to 120 characters. Defaults to a trimmed prompt — except a voice line, which defaults to its voice's name (its prompt is the script, and stays private).
Exact media length for the duration badge — pass what your player measured.
Show the prompt on the post (images and clips). Defaults to true on a first publish; omitted on a re-publish = unchanged.
curl https://eroq.ai/v1/creations/CREATION_ID/publish \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"title": "Neon rooftop, dusk",
"durationSeconds": 8,
"showPrompt": true
}'{
"ok": true, "id": "4a17…", "title": "Neon rooftop, dusk",
"publishedAt": "2026-09-11T14:12:40Z", "handle": "conceptualsatellite1676", "review": "pending", "showPrompt": true
}Remove it from the community
Remove it from the community — engagement is kept for a re-publish.
Parâmetros de caminho
The creation's id, as listed or created.
curl -X DELETE https://eroq.ai/v1/creations/CREATION_ID/publish \
-H "Authorization: Bearer $EROQ_API_KEY"{ "ok": true }Set the cover of a video/voice
Set the cover of a video/voice (multipart file, image ≤ 5MB). A new cover on an approved community item sends it back to review (review in the response).
Parâmetros de caminho
The creation's id, as listed or created.
Corpo
multipart/form-dataCover image, up to 5MB.
curl https://eroq.ai/v1/creations/CREATION_ID/thumbnail \
-H "Authorization: Bearer $EROQ_API_KEY" \
-F file=@thumb.webp{ "ok": true, "thumbUrl": "https://store.eroq.ai/…/thumb.webp", "review": "pending" }Report a render that came out wrong
Report a render that came out wrong — a reason and a few words, read by our team when working on the engine. One report per creation (sending again rewrites it), up to 20 a day (429 daily_limit past that). Free, and never a refund.
Parâmetros de caminho
The creation's id, as listed or created.
Corpo
application/jsonWhat went wrong: body (broken body or hands), face (face does not match), motion (unnatural motion), glitch (glitches or artifacts), sound (sound is off), prompt (ignored part of the prompt), other (something else).
What is wrong, and where — up to 1,000 characters.
curl https://eroq.ai/v1/creations/CREATION_ID/feedback \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"reason": "body",
"comment": "The left hand melts at 0:03."
}'{ "ok": true }List your folders
List your folders — share is the public link, null while private.
curl https://eroq.ai/v1/folders \
-H "Authorization: Bearer $EROQ_API_KEY"{
"folders": [{ "id": "c31f…", "name": "Campaign A", "createdAt": "2026-09-11T14:02:11Z", "locked": false, "share": null }]
}Create a folder
Corpo
application/jsonFolder name, unique per account, up to 40 characters.
curl https://eroq.ai/v1/folders \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Campaign A"
}'{ "folder": { "id": "c31f…", "name": "Campaign A", "createdAt": "2026-09-11T14:02:11Z", "locked": false, "share": null } }Rename a folder
Parâmetros de caminho
The folder's id, as listed or created.
Corpo
application/jsonThe new name, unique per account, up to 40 characters.
curl -X PATCH https://eroq.ai/v1/folders/FOLDER_ID \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "Campaign B"
}'{ "folder": { "id": "c31f…", "name": "Campaign B", "createdAt": "2026-09-11T14:02:11Z", "locked": false, "share": null } }Delete a folder
Delete a folder — its creations fall back to the root, its public link dies. A folder locked by a PIN takes its creations with it (remove the PIN first to keep them).
Parâmetros de caminho
The folder's id, as listed or created.
curl -X DELETE https://eroq.ai/v1/folders/FOLDER_ID \
-H "Authorization: Bearer $EROQ_API_KEY"{ "ok": true }Lock a folder with a 4-digit PIN
Lock a folder with a 4-digit PIN: its creations leave every list (/v1/creations, reads by id) until the PIN is typed, and its public link is turned off. 409 already_locked on a locked folder. There is no recovery: a forgotten PIN leaves the folder shut. Answers an unlock token for the next 30 minutes.
Parâmetros de caminho
The folder's id, as listed or created.
Corpo
application/jsonFour digits.
curl https://eroq.ai/v1/folders/FOLDER_ID/lock \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pin": "4821"
}'{
"folder": { "id": "c31f…", "name": "Private", "createdAt": "2026-09-11T14:02:11Z", "locked": true, "share": null },
"unlock": { "token": "c31f….1763485200000.k2Jf…", "expires_at": "2026-11-18T17:00:00Z" }
}Type a locked folder's PIN
Type a locked folder's PIN. The right one answers an unlock token, good for 30 minutes: send it in the x-eroq-unlocked header (comma-separated, one per folder) and the folder's creations come back on a read of that folder (GET /v1/creations?folder=<id>, or open_folders=true for every folder a token opens) — never in a plain list of everything. A wrong PIN answers 403 wrong_pin with attempts_left; after 5 in a row the folder answers 423 pin_blocked (with retry_at) for 15 minutes.
Parâmetros de caminho
The folder's id, as listed or created.
Corpo
application/jsonFour digits.
curl https://eroq.ai/v1/folders/FOLDER_ID/unlock \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pin": "4821"
}'{ "unlock": { "token": "c31f….1763485200000.k2Jf…", "expires_at": "2026-11-18T17:00:00Z" } }Remove a folder's PIN, with the PIN
Remove a folder's PIN, with the PIN: its creations go back into every list and every unlock token out stops working. Wrong PINs count toward the same block as /unlock.
Parâmetros de caminho
The folder's id, as listed or created.
Corpo
application/jsonThe folder's PIN.
curl -X DELETE https://eroq.ai/v1/folders/FOLDER_ID/lock \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pin": "4821"
}'{ "folder": { "id": "c31f…", "name": "Private", "createdAt": "2026-09-11T14:02:11Z", "locked": false, "share": null } }Lock your whole Library with a 4-digit PIN
Lock your whole Library with a 4-digit PIN: from then on GET /v1/creations and GET /v1/folders answer empty with library_locked: true, and every read, edit, publish, share or send of a creation by id answers 404 (folders: 423 library_locked) until the PIN is typed. A render you start still comes back on its own job. 409 already_locked when the Library has a PIN. Answers an unlock token for the next 30 minutes.
Corpo
application/jsonFour digits.
curl https://eroq.ai/v1/library/lock \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pin": "4821"
}'{ "library": { "locked": true }, "unlock": { "token": "library.1763485200000.k2Jf…", "expires_at": "2026-11-21T17:00:00Z" } }Type your Library's PIN
Type your Library's PIN. The right one answers an unlock token, good for 30 minutes: send it in the x-eroq-unlocked header (with any folder tokens, comma-separated) and the Library comes back — locked folders inside it still need their own PIN. A wrong PIN answers 403 wrong_pin with attempts_left; after 5 in a row, 423 pin_blocked (with retry_at) for 15 minutes.
Corpo
application/jsonFour digits.
curl https://eroq.ai/v1/library/unlock \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pin": "4821"
}'{ "unlock": { "token": "library.1763485200000.k2Jf…", "expires_at": "2026-11-21T17:00:00Z" } }Remove your Library's PIN, with the PIN
Remove your Library's PIN, with the PIN: everything comes back into every list and every Library token out stops working. Wrong PINs count toward the same block as /unlock.
Corpo
application/jsonThe Library's PIN.
curl -X DELETE https://eroq.ai/v1/library/lock \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"pin": "4821"
}'{ "library": { "locked": false } }A forgotten Library PIN
A forgotten Library PIN. Without a body, mails your account a link (good for one hour, at most one every 10 minutes: 429 recovery_recent) and answers the address, masked. With the token that link carries, removes the PIN — nothing is deleted; a used or expired link answers 410 link_expired. Locked folders keep their own PIN, which has no recovery.
Corpo
application/jsonThe token from the emailed link (?pin_reset=). Leave out to send the link.
curl https://eroq.ai/v1/library/recover \
-H "Authorization: Bearer $EROQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"token": "1763485200000.k2Jf…"
}'{ "sent": true, "email": "qu•••@example.com" }