Overview
Face Swap LoRA is an asynchronous image-to-image model for replacing a face in a target image using one face reference image.Endpoint and authentication
Base URL:
All requests require your APIXO API key:
Copy-paste async quickstart
Poll for result
resultJson after state becomes success:
Request body
Parameters
string
default:"async"
required
Result delivery mode. Use
async and poll with statusTask.object
required
Face Swap LoRA input parameters.
Response format
POST /generateTask/face-swap-LoRA returns a task ID when the task is accepted. Poll the status endpoint until state is success or failed.
string
Unique task identifier used with the status endpoint.
string
Current task state:
pending, processing, success, or failed.string
JSON string containing output image URLs in
resultUrls. Present when state is success.string
Machine-readable failure code. Present when
state is failed.string
Human-readable failure message. Present when
state is failed.Billing
New non-LLM requests use 1 credit =$0.001. Calculate the full amount, including billable quantity and add-ons, apply the applicable account discount, then round the request total upward to the next whole credit. Agreed fixed unit prices retain their precision and replace the standard price and discount; final rounding still applies. See credit conversion and rounding.
Face Swap LoRA is billed per generated image.
For the current public price, see API pricing.
Latency and polling
Errors and troubleshooting
See Error Codes for the full error reference.
MCP integration
The complete model schema declares result decoding inmcp.result and supported file bindings in mcp.attachments. These are client integration metadata, not generation input parameters. Attachment paths: image_urls, face_urls. Preserve the user’s file order. Model parameter validation remains on the API.