SDKs and Client Libraries
Ideogram doesn’t publish official SDK packages for Python, TypeScript or other languages. The API is plain HTTP with JSON and multipart requests, so any HTTP library works. The examples in these guides use requests in Python and fetch in TypeScript.
OpenAPI specification
Download the v2 specification to generate a typed client with the OpenAPI tooling you already use:
- JSON: https://developer.ideogram.ai/openapi/ideogram-api-v2.json
- YAML: https://developer.ideogram.ai/openapi/ideogram-api-v2.yaml
A first request
Generate an image with Ideogram 4.5 and save it. Result links expire after 24 hours, so download the file.
Python
TypeScript
cURL
Next, see Authentication and API keys, Responses and metadata and Rate limits.