Start a new job
Start a new model swap batch processing job for the authenticated user. A maximum of 10 images can be processed in a single batch.
token_authAuthorizationBearer <token>Token-based authentication using access tokens.
application/json- body
ai_retouch?Ai Retouchauto: once the AI reviewer has checked the outputs, the AI
retoucher fixes what it flagged on each image, once, without being asked.
Each fixed image costs the AI retouch price, charged only when an image is
fixed. Enterprise only for now, and not with review_config (images in
a review round are retouched from the review screen); otherwise ignored.
quality_summary.settled on GET /jobs//results, or the
job_quality notification, tells when it is done.
"off""off""auto"identity_code*Identity CodeThe original identity code to swap over the images.
project_id*Project IdThe project identifier where images are stored.
images*array<string>List of image UUIDs to be processed.
items <= 10post_process?Post ProcessEnables or disables post processing for all images in the batch.
falseswap_options?How the swap runs (model, size, num_variations, seed, match_original_pixels, ...).
format ("png" | "jpg", default "jpg") is the delivered file format: png is
lossless, so with match_original_pixels everything outside the new face, skin
and hair stays pixel-identical to the input; jpg gives smaller files.
{}review_config?|Optional review configuration. If provided, creates a review pipeline for this job. Fields: requires_review (bool), default_reviewer_type (str), default_retouch_method (str), auto_approve_threshold (float).
nullSuccessful Response
application/json- response
job_id*Job IdThe ID of the created model swap job.
status*StatusThe initial status of the job.
message*MessageA message indicating the job creation status.
curl -X POST "https://example.com/model-swap" \ -H "Content-Type: application/json" \ -d '{ "identity_code": "string", "project_id": "string", "images": [ "string" ] }'{ "job_id": "string", "status": "string", "message": "string"}