Skip to main content
The provider_params field lets you pass provider-specific parameters that aren’t part of Eden AI’s unified schema. This gives you access to advanced or niche options offered by individual providers without breaking the standard request format.

How It Works

Add a provider_params object to any Universal AI request. The contents are forwarded directly to the provider alongside the standard input fields.

Basic Example

Common Use Cases

Image Generation — Style and Quality

Control output style and quality for image generation:

Text to Speech — Voice Settings

Pass provider-specific voice parameters:

Important Notes

  • provider_params are not validated by Eden AI — they are passed directly to the provider. Invalid parameters may cause provider-side errors.
  • Available parameters vary by provider and feature. Refer to the provider’s own documentation for supported options.
  • provider_params only apply to the specific provider in the model string. If you switch providers, you may need to update the parameters.

Next Steps

Bring Your Own Key

Use your own provider API keys for full control over costs and limits