Train influencer from a face
POST/api/v2/influencers/train sync
Train a new influencer from a single face image plus attributes (gender, body shape, age). The full set of reference angles is generated server-side. Returns an influencer_id immediately with status 'training'; poll GET /api/v2/influencers for readiness. Costs 250 credits on completion.
curl -X POST "https://influencerstudio.com/api/v2/influencers/train" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"face_image_url": "https://example.com/face.jpg",
"name": "Sofia Martinez",
"gender": "female",
"body_shape": "Average",
"age": 25,
"ethnicity": "string",
"hair_style": "string",
"hair_color": "string",
"eye_color": "string",
"skin_color": "string",
"workspace_id": "workspace_id_example"
}'