--- title: Ideogram 4 emoji: 🐢 colorFrom: pink colorTo: indigo sdk: gradio sdk_version: 6.19.0 python_version: '3.13' app_file: app.py pinned: false models: - ideogram-ai/ideogram-4-fp8 hf_oauth: true hf_oauth_scopes: - inference-api --- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference ## How it works This is a Gradio **Workflow** app. The canvas calls the official [Ideogram 4 Space](https://huggingface.co/spaces/ideogram-ai/ideogram4) (`ideogram-ai/ideogram4`, endpoint `/generate`) as a node, exposing all of its inputs — `prompt`, `mode` (speed ↔ quality), `upsampler`, `width`, `height`, `seed`, `randomize_seed` — as ports you can wire and tweak on the canvas. The node returns the image, the seed used, and the (upsampled) caption. No server-side secrets are required: each visitor authenticates with their own Hugging Face OAuth token (granted via `hf_oauth` below), so they run the pipeline on their own access. The Space owner gets write access to edit and save the workflow; visitors get a read-only canvas they can still run.