# ByteDance Image Generation Provider

## Credentials

**Environment variable:** `BYTEDANCE_API_KEY`

**Setup:**
1. Register at [console.byteplus.com](https://console.byteplus.com)
2. Activate model in ModelArk section
3. Generate API key with image generation permissions
4. Set environment variable: `export BYTEDANCE_API_KEY="your-key"`

**Note:** Models must be activated in BytePlus console before use. If you get a 404 error, activate the model or use an Endpoint ID (`ep-xxx`) instead of Model ID.
