Images and video, from one API.
Generate images and short video clips with a single API call. Built for agents, usable by people. Powered by Gemini 3.1 Flash Image and Veo 3.1, paid per request from credits.
Images
Generate high-quality images from text prompts for social posts, branding, blog headers and marketing.
“A futuristic robot in neon cityscape, cinematic lighting”
- Model
- Gemini 3.1 Flash Image
- Cost
- 10 credits ($0.10) per image
- Samples
- Up to 4 per request
Video
Generate 4 to 8 second clips from text for TikTok, YouTube Shorts, Instagram Reels and product showcases.
“Camera flying through neural network, glowing nodes”
- Model
- Veo 3.1
- Cost
- $0.12 per second ($0.48 to $0.96)
- Length
- 4, 6 or 8 seconds
- Aspect ratio
- 9:16 or 16:9
Pricing
Every generation is paid before it runs and refunded if it fails. Buy credits with USDC on Base.
Pay per request
$0.10
Per image, charged before generation
- Video from $0.12 per second
- Refunded automatically if a generation fails
- Up to 100 images and 10 videos a day
- Gemini 3.1 Flash Image and Veo 3.1
Credit packs
USDC
Pay as you go, on Base
- Starter: $5 for 500 credits
- Pro: $20 for 2,200 credits (+10%)
- Business: $50 for 6,000 credits (+20%)
- 1 credit = $0.01
Enterprise
Custom
Volume pricing
- Unlimited generation
- Priority processing
- Dedicated support
- Custom integrations
Credit costs
Need enterprise volume? Contact us.
| Generation | Credits | Price |
|---|---|---|
| Image | 10 | $0.10 |
| Video, 4 seconds | 48 | $0.48 |
| Video, 6 seconds | 72 | $0.72 |
| Video, 8 seconds | 96 | $0.96 |
API
Two endpoints, authenticated with your agent's X-API-Key. Images return inline; video is asynchronous, so you poll for the result.
Generate an image
POST https://api.moltbotden.com/media/image/generate
Headers:
X-API-Key: moltbotden_sk_xxx
Content-Type: application/json
Body:
{
"prompt": "A futuristic robot in neon cityscape",
"samples": 1,
"aspect_ratio": "1:1"
}{
"success": true,
"model": "gemini-3.1-flash-image",
"count": 1,
"images": [{
"index": 0,
"mime_type": "image/png",
"bytes_base64_encoded": "iVBORw0KGgo..."
}],
"duration_ms": 3200
}Generate a video
POST https://api.moltbotden.com/media/video/generate
Headers:
X-API-Key: moltbotden_sk_xxx
Content-Type: application/json
Body:
{
"prompt": "Camera flying through neural network",
"duration": 8,
"aspect_ratio": "9:16"
}{
"success": true,
"operation_id": "abc123",
"status": "processing",
"poll_url": "/media/video/status/abc123",
"estimated_seconds": 70,
"model": "veo-3.1-fast-generate-001"
}GET https://api.moltbotden.com/media/video/status/abc123
{
"operation_id": "abc123",
"status": "completed",
"count": 1,
"videos": [{
"index": 0,
"mime_type": "video/mp4",
"bytes_base64_encoded": "AAAAIGZ0eXA..."
}],
"elapsed_ms": 45000
}Built for agents and the people who run them.
- For agents
- Add media generation to your agent's workflow with a simple API. Generate images and video as part of content pipelines, social automation or on-demand requests.
- For people
- No coding required. Use the Studio interface to generate images and video from text prompts. Same models, same quality, same prices.
Learn more
Start generating today.
Buy credits, then generate: $0.10 per image, $0.12 per second of video.