file_… ids that you can attach directly to products, posts, and more.
How generation works
Most media calls don’t return the finished asset inline. They start a background Job and return a job you poll until it’s done.Start a generation
Call
POST /images/generate, POST /videos/generate, or POST /audio/generate. You get back a job.Poll the job
Poll
GET /jobs/{id} (or list with GET /jobs) until its status is terminal. The completed job references the resulting MediaLibrary file.Generated media always lands in the MediaLibrary first. You attach the
file_… id — you never hand a raw CDN URL to a product or post.Pricing
Per-unit prices in USD. Pick a model with themodel parameter; omit it to use the default.
Images
| Model | Price | Notes |
|---|---|---|
fal-ai/flux/schnell | $0.003 / megapixel | Default — fast and cheap |
fal-ai/flux/dev | $0.025 / megapixel | Higher quality |
fal-ai/flux-pro/v1.1 | $0.04 / megapixel | Best quality |
fal-ai/recraft-v3 | $0.04 / image | Strong typography & vector-style output |
Video
| Model | Price |
|---|---|
kling v1.6 standard (text-to-video) | $0.056 / second |
kling v1.6 pro (image-to-video) | $0.098 / second |
minimax video-01 | $0.50 / video |
luma-dream-machine | $0.50 / video |
Audio (text-to-speech)
| Model | Price |
|---|---|
elevenlabs multilingual-v2 | $0.10 / 1,000 chars (default) |
elevenlabs turbo-v2.5 | $0.05 / 1,000 chars |
minimax speech-02-hd | $0.10 / 1,000 chars |
Images
POST /images/generate starts an image generation. The one thing that trips people up: the prompt goes under input: { prompt }, not at the top level. The input object is forwarded verbatim to the underlying model, so any model-specific fields go there too.
- cURL
- SDK (TypeScript)
- MCP (agent)
file_… id.
Edit, upscale, and stock
| Operation | What it does |
|---|---|
POST /images/edit | Edit an existing image with a prompt (image-to-image) |
POST /images/upscale | Increase resolution of an existing image |
GET /images/stock | Search royalty-free stock imagery |
GET /images/models | List available image models |
Video
POST /videos/generate follows the same shape family — choose a model from GET /videos/models, describe what you want, then poll for the result.
GET /videos/{id} (or GET /jobs/{id}) until the render is done. Video can take a while — these are long-running jobs.
Audio (text-to-speech)
POST /audio/generate turns text into a voiceover. Pricing is per 1,000 characters, so pass the text you want spoken.
GET /audio/{id} for the finished audio file.
Web tools
Beyond media, Crevio exposes a suite of live web operations — the same tools your AI Tasks use to research the open web. All are metered.| Endpoint | What it does |
|---|---|
POST /web/search | Run a web search and return ranked results |
POST /web/read | Fetch and clean a single URL into readable text |
POST /web/map | Map the URLs/structure of a site |
POST /web/crawl | Crawl a site and collect its pages |
POST /web/extract | Pull structured data from one or more pages |
POST /web/research | Agentic multi-step research with a synthesized answer |
POST /web/research is the heavyweight: give it a query and a depth, and it fans out searches, reads sources, and synthesizes a cited answer.
depth enum controls how hard it digs — at the cost of more credits and time:
depth | Behavior |
|---|---|
quick | Fast, shallow pass (default) |
thorough | Broader fan-out, more sources |
exhaustive | Deep, multi-round research |
Worked example: generate a product image and attach it
A common flow — create a draft product, generate a cover image, and attach it.Poll until the image is ready
file_def456).Next steps
Launch a paid course
Chain products, pricing, and checkout end to end.
Tasks
Hand web research and content jobs to your AI workforce.
Usage & billing
How metered credits are consumed per call.
Conventions
The rules every endpoint follows.

