Skip to main content

Developer Docs

AI Image Generation API Reference

Build embedded image, video, voice, and text generation into your product with one REST API surface. This reference covers authentication, session creation, widget-ready workflows, and the request and response schemas behind the ImageLayer platform.

Authentication and sessions

Create end-user sessions, authenticate dashboard and playground flows, and keep generation requests scoped to the right organization.

Media generation workflows

Inspect the endpoints, payloads, and models used for image generation, video, voiceovers, podcast snippets, and AI text outputs.

Production integration details

Review schemas, error responses, and headers before wiring the API into your app, backend, or embedded widget flow.

What this reference includes

  • Authentication flows for API keys, organization auth tokens, and end-user session tokens.
  • Schema-level details for generation requests, media outputs, and usage-sensitive response fields.
  • Error shapes and validation responses for building resilient backend integrations.
  • Endpoint coverage for widget, dashboard, and API-driven product workflows.

Interactive API explorer

The explorer below loads the full OpenAPI document, including schemas, example payloads, authentication requirements, and endpoint groups. Use it to inspect the contract before you ship or troubleshoot an integration.