Reference/characters

Create Character Dashboard

Create Character Dashboard Dashboard access token (JWT); API keys are not accepted. Request examples use snake_case; schemas may also display accepted camelCase aliases. Replace resource placeholders with accessible IDs. See the guides for runtime model constraints and workflows.

POST/v1/projects/{project_id}/characters
Open playground
Dashboard access token (JWT); API keys are not accepted. See authentication.
This operation is asynchronous and initially returns 202 with a resource ID. Poll GET /v1/projects/{project_id}/characters/{id} until a terminal state: ready, failed.

Authorizations

Dashboard access token (JWT); API keys are not accepted.

Path Parameters

project_idstringrequired

Body (application/json)

namestringrequired
genderstringoptional
agestringoptional
ethnicitystringoptional
stylestringoptional
appearanceobjectoptional
promptstringoptional
subjectstringoptional
actionstringoptional
environmentstringoptional
visualDescriptionstringoptional
customPromptstringoptional
modelAliasstringoptionaldefault: photoreal-v1
modelstringoptional

Response

202 - application/json
Successful Response
No detailed response model is declared for this operation. See its guide for response fields and lifecycle behavior.
Request Example
curl --fail-with-body -X POST "https://api.apimarketplace.com/v1/projects/PROJECT_ID/characters" -H "Authorization: Bearer $ACCESS_TOKEN" -H 'Content-Type: application/json' --data '{"name": "Example character", "model_alias": "photoreal-v1", "prompt": "**subject**\nA 30-year-old adult with brown eyes and short brown hair\n**action**\nWearing a blue shirt, facing the camera\n**environment**\nA plain studio", "appearance": {"age": 30, "gender": "male"}}'