Create an async job for long-running AI operations.
Model format: feature/subfeature/provider[/model]
Supported async features:
Request body:
Returns 202 Accepted with job info for polling.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Universal AI async request body.
Extends UniversalAIBody with webhook parameters for async notifications.
Model in format: feature/subfeature/provider[/model]
"text/ai_detection/openai/gpt-4"
"ocr/ocr/amazon"
"image/generation/google/imagen-3"
Feature-specific input parameters. Required fields depend on the feature/subfeature specified in provider. Examples:
{
"text": "Analyze this text for AI detection"
}{
"dimensions": 512,
"texts": ["text1", "text2"]
}{ "file_id": "abc123", "language": "en" }Provider-specific parameters
Include raw provider response in the output
Webhook URL to receive job completion notification
1 - 2083Custom parameters to include in webhook payload
Successful Response
Async response from universal-ai/async endpoint.
Inherits base fields and adds job-specific fields for tracking async operations. Used for both job creation (202 Accepted) and job detail (GET) responses.
Request status: success, fail, or processing (async only)
success, fail, processing Cost in credits for this request
^(?!^[-+.]*$)[+-]?0*\d*\.?\d*$Provider name that processed the request
Feature category (e.g., text, ocr, image)
Specific subfeature (e.g., ai_detection, sentiment)
Job ID for polling status
Job creation timestamp
Normalized output from the provider
Error details from the provider (only present when status is 'fail')
Raw response from the provider (if show_original_response=true)
Model name if specified in the request