Passer au contenu principal
POST
Generate a project

Autorisations

Authorization
string
header
requis

API key with "faces_" prefix. Create one at Settings > Developers.

Corps

application/json
prompt
string
requis

A detailed description of the project to generate.

Minimum string length: 1
Exemple:

"5-slide pitch deck about AI in healthcare with a modern dark theme"

templateId
string

ID of one of your team's templates to base the project on. The template's design is preserved exactly and its slides are reproduced with your content. Only team templates are supported.

Réponse

Job created

jobId
string
requis

Poll this ID with the status endpoint.

status
enum<string>
requis
Options disponibles:
processing
editorUrl
string<uri>
requis

URL to open the project in the Faces editor.

estimatedDuration
string
requis

Estimated generation time. ~120s with a team template, 240s from scratch.

Exemple:

"240 seconds"

templateId
string