Reference/workflow

Workflow Character To Image

Workflow Character To Image Project API key or dashboard access token (JWT). 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. Workflow routes use their own schemas and status endpoints; do not substitute the canonical generation payload. SourceImage requires a platform-issued assetId and its current presignedUrl. Retrieve cataloged pose names from GET /v1/workflow/character-to-image/presets.

POST/v1/workflow/character-to-image
Open playground
Project API key or dashboard access token (JWT). See authentication.

Authorizations

Project API key or dashboard access token (JWT).

Body (application/json)

characterIdstringoptional
namestringoptional
outfitstringoptional
posestringoptional
actionstringoptional
backgroundstringoptional
accessoriesstringoptional
promptstringoptional
numImagesintegeroptionaldefault: 1
sourceImageobjectrequired
assetIdstringrequired
presignedUrlstringrequired
upscalebooleanoptionaldefault: false
widthintegeroptional
heightintegeroptional
endUserIdstringoptional
conversationIdstringoptional
chatContextobjectoptional

Lucy-owned scene evidence, never instructions or a character identity override.

messagesarrayoptional
assistantReplystringoptionaldefault:
sceneContextstringoptional

Response

200 - 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/workflow/character-to-image" -H "Authorization: Bearer $API_KEY" -H 'Content-Type: application/json' --data '{"sourceImage": {"assetId": "IMAGE_ASSET_ID", "presignedUrl": "https://media.example.com/REPLACE_WITH_PLATFORM_PRESIGNED_URL"}, "prompt": "An adult in a green jacket standing in a modern apartment"}'