Search Docs
Loading...
Skip to content

Customize Connection

Most integrations connect to AI through the Managed Model Gateway. Customize the connection only when you need your own models or want to keep API keys on your own servers.

The Managed Model Gateway is the recommended way to connect CE.SDK to AI: IMG.LY runs the proxy, authentication, model routing, and billing, so you don’t operate any AI infrastructure. Start there unless you have a specific reason not to.

Customize the connection when the managed gateway doesn’t fit:

  • Custom Model Provider — Connect your own AI model or service by implementing the provider interface with your own input schema and generation logic.
  • Self-Hosted Model Proxy — Keep the built-in providers (fal.ai, OpenAI, Anthropic, ElevenLabs) but route their requests through your own server so your API keys never reach the browser.

Whichever connection you choose, you configure the individual capabilities the same way — see the Image Generation, Video Generation, Audio Generation, Text Generation, and Auto Captions guides.