SwapFace Result Fetch
Query face swap task results. The returned data structure is consistent with the hookUrl return format.
Note: jobId can be passed via URL parameters (Query) or request body (Body)
Authorizations
You can obtain your API key from the TTAPI Dashboard.
Query Parameters
Job ID returned synchronously by the generation endpoint
Response
Request successful
Task status: ON_QUEUE-processing, SUCCESS-success, FAILED-failed
SUCCESS, ON_QUEUE, FAILED "SUCCESS"
Response message: empty string on success, returns specific error reason on failure (e.g., 'insufficient quota', 'prompt violation')
""
Unique task identifier for querying task status or receiving callback notifications
"c679a92e-dae0-462d-b70f-dcfeaf2189fa"
Data returned when task succeeds
- SUCCESS
- ON_QUEUE
- FAILED