AI Workflows
Generate stunning images and video directly in your AI coding environment. Weyl provides sub-100ms latency for real-time generation workflows.
Why Weyl for AI Coding?
- Fast: Sub-100ms p99 latency - perfect for interactive workflows
- Simple: Copy-paste ready code snippets
- Powerful: FLUX, SDXL, and video generation at your fingertips
- Reliable: 99.99% uptime with multi-region redundancy
Choose Your Tool
| Tool | Best For | Integration Method |
|---|---|---|
| Cursor | IDE integration, live previews | API calls in code |
| Claude | Projects, MCP server | Context files, tools |
| v0 | UI component generation | API in generated code |
| Lovable | Full-stack apps | Backend API integration |
| Bolt | Rapid prototyping | Direct API calls |
Common Use Cases
Hero Images
Generate custom hero images for landing pages without leaving your IDE.
# Quick example - works anywherecurl -X POST "https://sync.render.weyl.ai/image/flux/schnell/t2i?format=1024" \ -H "Authorization: Bearer $WEYL_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"modern tech startup office, bright natural lighting"}' \ -o hero.webpUI Mockups
Create placeholder images that match your design vision.
curl -X POST "https://sync.render.weyl.ai/image/flux/schnell/t2i?format=512" \ -H "Authorization: Bearer $WEYL_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"product shot, minimal background, studio lighting"}' \ -o product.webpVideo Content
Generate short video clips for prototypes and demos.
curl -X POST "https://sync.render.weyl.ai/video/wan/default/i2v?format=720p" \ -H "Authorization: Bearer $WEYL_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt":"camera slowly zooms in","image":"https://your-image.jpg"}' \ -o demo.mp4Quick Start
- Get Your API Key - Sign up at weyl.ai for free (1,000 requests/month)
- Pick Your Tool - Choose from Cursor, Claude, v0, Lovable, or Bolt above
- Copy & Paste - Each guide has ready-to-use code snippets
- Generate - Start creating images and video in seconds
Sync vs Async
Sync Tier (Real-Time)
Use sync.render.weyl.ai for interactive workflows:
- Instant results
- Perfect for live previews
- Returns 503 if capacity full
Async Tier (Batch)
Use async.render.weyl.ai for cost optimization:
- Queue-based
- Lower pricing
- Poll for results
Most vibe coding workflows use the sync tier for immediate feedback.
Need Help?
- API Overview - Complete API reference
- Model Guide - Available models and formats
- Authentication - Set up your API keys
Next Steps
Choose your tool from the table above to get started with tool-specific guides and examples.