universal-ai
Universal Ai
Universal AI endpoint for synchronous non-LLM AI features.
Model format: feature/subfeature/provider[/model]
Supported features:
- text/ai_detection, text/moderation, etc.
- ocr/ocr, ocr/identity_parser, etc.
- image/generation, image/background_removal, etc.
For async features (e.g., audio/speech_to_text_async), use POST /v3/universal-ai/async.
Request body:
- model: Model string in format feature/subfeature/provider[/model]
- input: Feature-specific input parameters
- fallbacks: Optional list of fallback provider strings (max 3); not supported on audio/tts or image/face_recognition, since a voice or a face collection belongs to one provider
- provider_params: Optional provider-specific parameters
- show_original_response: Include raw provider response (default: false)
Example:
{
"model": "text/ai_detection/openai/gpt-4",
"input": {"text": "Analyze this text"}
}
post/v3/universal-ai
Request
- Base URLhttps://api.edenai.run
- AuthHTTP bearer
Request body
Example request
{
"tags": {
"client": "acme",
"project": "invoices"
},
"model": "text/ai_detection/openai/gpt-4",
"input": {
"text": "Analyze this text for AI detection"
}
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.