Skip to main content

1. Add Dependency

Add to your Cargo.toml:

2. Set API Key

3. Basic Example

4. Check Task Status

Error Handling

Async/Await

All API calls are async and require an async runtime like Tokio:

Available APIs

  • image_api - Text to image, variations, upscaling, editing
  • video_api - Video generation, upscaling, and task status
  • account_management_api - Account balance and information