Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/crevio-co:crevio-co-images-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
OpenAPI Specification
openapi: 3.2.0
info:
title: Crevio API V1 Images API
version: 1.0.0
description: 'API for the Crevio creator platform — a multi-tenant SaaS for digital product sales.
Uses snake_case keys following Stripe conventions. All resource IDs are string IDs (e.g., "prod_abc123").
Authentication is a bearer token: `Authorization: Bearer $CREVIO_API_KEY`.
List endpoints are cursor-paginated with `limit` and `starting_after`.
Writes accept an `Idempotency-Key` header and are safe to retry.
Every response carries IETF RateLimit headers (`RateLimit`, `RateLimit-Policy`) so a client can
self-throttle, and `Retry-After` on a 429. The quota is 600 requests per minute per credential.
The API is versioned in the URL path (`/v1`). Nothing is removed without in-band warning: a
deprecated operation is marked `"deprecated": true` here and serves `Deprecation` (RFC 9745),
`Sunset` (RFC 8594) and `Link; rel="deprecation"` headers for at least six months before it
stops answering. See https://crevio.co/docs/developer/guides/versioning.'
contact:
email: support@crevio.co
name: Crevio Support
url: https://crevio.co/docs
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: https://crevio.co/legal/terms-of-service
servers:
- url: https://api.crevio.co/v1
description: Production
security:
- ApiKey: []
tags:
- name: Images
description: AI image generation, editing and stock search
paths:
/images/edit:
post:
summary: Edit an image
description: Submits an asynchronous image-to-image (editing) job to the fal.ai queue and returns the queued job immediately. Transforms one or more source images according to a text prompt — restyle a product photo, change a background, combine references. Poll `GET /v1/jobs/{id}` for status and results. Credits are charged only when the job completes successfully.
operationId: editImage
x-crevio-sdk-method: edit
tags:
- Images
security:
- ApiKey: []
parameters:
- name: Idempotency-Key
in: header
required: false
description: 'Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.'
schema:
type: string
maxLength: 255
example: 1f7a4c2e-3b19-4a6d-9f0c-2ac81b5d7e33
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ImageEditRequest'
responses:
'202':
description: Edit job queued
content:
application/json:
schema:
$ref: '#/components/schemas/ProviderJob'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
description: Insufficient credits
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
x-crevio-approval: allow
x-codeSamples:
- lang: typescript
label: Typescript (SDK)
source: "import { Crevio } from \"@crevio/sdk\";\n\nconst crevio = new Crevio({\n apiKey: process.env[\"CREVIO_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await crevio.images.edit({\n input: {\n prompt: \"<value>\",\n },\n });\n\n console.log(result);\n}\n\nrun();"
/images/generate:
post:
summary: Generate an image
description: Submits an asynchronous image generation job to the fal.ai queue and returns the queued job immediately. Poll `GET /v1/jobs/{id}` for status and results. Credits are charged only when the job completes successfully.
operationId: generateImage
x-crevio-sdk-method: generate
tags:
- Images
security:
- ApiKey: []
parameters:
- name: Idempotency-Key
in: header
required: false
description: 'Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.'
schema:
type: string
maxLength: 255
example: 1f7a4c2e-3b19-4a6d-9f0c-2ac81b5d7e33
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ImageGenerateRequest'
responses:
'202':
description: Generation job queued
content:
application/json:
schema:
$ref: '#/components/schemas/ProviderJob'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
description: Insufficient credits
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
x-crevio-approval: allow
x-codeSamples:
- lang: typescript
label: Typescript (SDK)
source: "import { Crevio } from \"@crevio/sdk\";\n\nconst crevio = new Crevio({\n apiKey: process.env[\"CREVIO_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await crevio.images.generate({\n input: {\n prompt: \"<value>\",\n },\n });\n\n console.log(result);\n}\n\nrun();"
/images/models:
get:
summary: List image models
description: Lists the image generation models available to `POST /v1/images/generate`, enriched with live fal.ai pricing.
operationId: listImageModels
x-crevio-sdk-method: listModels
tags:
- Images
security:
- ApiKey: []
responses:
'200':
description: List of image models
content:
application/json:
schema:
$ref: '#/components/schemas/ListResponse_GenerationModel'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
x-crevio-approval: allow
x-codeSamples:
- lang: typescript
label: Typescript (SDK)
source: "import { Crevio } from \"@crevio/sdk\";\n\nconst crevio = new Crevio({\n apiKey: process.env[\"CREVIO_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await crevio.images.listModels();\n\n console.log(result);\n}\n\nrun();"
/images/stock:
get:
summary: Search stock photos
description: Searches free Pexels stock photography by keyword and returns ready-to-use, resolvable image URLs. No credits are charged (`credits_used` is always 0).
operationId: searchStockImages
x-crevio-sdk-method: stock
tags:
- Images
security:
- ApiKey: []
parameters:
- name: query
in: query
required: true
description: The search term used to find photos.
schema:
type: string
- name: count
in: query
description: Number of photos to return (1–80).
schema:
type: integer
minimum: 1
maximum: 80
default: 10
- name: orientation
in: query
description: Filter by photo orientation.
schema:
type: string
enum:
- landscape
- portrait
- square
- name: color
in: query
description: Filter by dominant color.
schema:
type: string
enum:
- red
- orange
- yellow
- green
- turquoise
- blue
- violet
- pink
- brown
- black
- gray
- white
- name: size
in: query
description: Filter by minimum photo size.
schema:
type: string
enum:
- large
- medium
- small
responses:
'200':
description: Matching stock photos
content:
application/json:
schema:
type: object
properties:
object:
type: string
enum:
- stock_photo_search_result
query:
type: string
total:
type: integer
description: Total number of matching photos available upstream.
credits_used:
type: integer
enum:
- 0
photos:
type: array
items:
type: object
properties:
id:
type: integer
url:
type: string
description: Link to the photo's page on Pexels.
photographer:
type: string
photographer_url:
type: string
alt:
type:
- string
- 'null'
width:
type: integer
height:
type: integer
avg_color:
type: string
src:
type: object
properties:
original:
type: string
large:
type: string
medium:
type: string
small:
type: string
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
x-crevio-approval: allow
x-codeSamples:
- lang: typescript
label: Typescript (SDK)
source: "import { Crevio } from \"@crevio/sdk\";\n\nconst crevio = new Crevio({\n apiKey: process.env[\"CREVIO_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await crevio.images.stock({\n query: \"<value>\",\n });\n\n console.log(result);\n}\n\nrun();"
/images/upscale:
post:
summary: Upscale an image
description: Submits an asynchronous image super-resolution job to the fal.ai queue and returns the queued job immediately. Poll `GET /v1/jobs/{id}` for status and results. Credits are charged only when the job completes successfully.
operationId: upscaleImage
x-crevio-sdk-method: upscale
tags:
- Images
security:
- ApiKey: []
parameters:
- name: Idempotency-Key
in: header
required: false
description: 'Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.'
schema:
type: string
maxLength: 255
example: 1f7a4c2e-3b19-4a6d-9f0c-2ac81b5d7e33
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/ImageUpscaleRequest'
responses:
'202':
description: Upscale job queued
content:
application/json:
schema:
$ref: '#/components/schemas/ProviderJob'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
description: Insufficient credits
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'422':
$ref: '#/components/responses/UnprocessableEntity'
'429':
$ref: '#/components/responses/TooManyRequests'
'500':
$ref: '#/components/responses/InternalServerError'
x-crevio-approval: allow
x-codeSamples:
- lang: typescript
label: Typescript (SDK)
source: "import { Crevio } from \"@crevio/sdk\";\n\nconst crevio = new Crevio({\n apiKey: process.env[\"CREVIO_API_KEY\"] ?? \"\",\n});\n\nasync function run() {\n const result = await crevio.images.upscale({\n input: {\n imageUrl: \"https://example.com\",\n },\n });\n\n console.log(result);\n}\n\nrun();"
components:
schemas:
ImageEditRequest:
type: object
properties:
model:
type: string
examples:
- fast
- balanced
- quality
- fal-ai/bytedance/seedream/v4.5/edit
- fal-ai/nano-banana-2/edit
- openai/gpt-image-2.5/sunburst/edit
- fal-ai/nano-banana/edit
- fal-ai/nano-banana-pro/edit
- fal-ai/flux-pro/kontext
description: A quality tier (fast, balanced, quality) or any fal.ai image-to-image endpoint id. Prefer a tier — it tracks the best current model for that price point. Defaults to fal-ai/nano-banana/edit.
input:
type: object
description: Model-specific input, forwarded to fal verbatim. `prompt` and a source image (`image_url` or `image_urls`) are required. For a featured model either image field is accepted and normalized to whichever that model expects; other models receive it as sent.
properties:
prompt:
type: string
description: Text instruction describing the edit to apply.
image_url:
type: string
format: uri
description: URL of the source image to edit.
image_urls:
type: array
items:
type: string
format: uri
description: URLs of source/reference images (multi-image models only; single-image models use the first).
required:
- prompt
required:
- input
GenerationModel:
type: object
properties:
object:
type: string
enum:
- model
id:
type: string
tier:
type:
- string
- 'null'
enum:
- fast
- balanced
- quality
- null
description: Quality tier this model backs. Pass the tier name as `model` instead of the id.
default:
type: boolean
unit_price:
type:
- number
- 'null'
unit:
type:
- string
- 'null'
currency:
type:
- string
- 'null'
credits_per_second:
type:
- number
- 'null'
description: 'Video models only: Crevio credits per second of output, from what recent generations were billed.'
required:
- object
- id
- default
ProviderJob:
type: object
properties:
id:
type: string
object:
type: string
type:
type: string
status:
type: string
enum:
- queued
- processing
- completed
- failed
- cancelled
model:
type: string
progress:
type: integer
input:
type: object
result:
type:
- object
- 'null'
error:
type:
- string
- 'null'
error_code:
type:
- string
- 'null'
credits_used:
type:
- integer
- 'null'
provider_request_id:
type:
- string
- 'null'
created_at:
type: string
format: date-time
started_at:
type:
- string
- 'null'
format: date-time
completed_at:
type:
- string
- 'null'
format: date-time
required:
- id
- object
- type
- status
- model
- progress
- input
- result
- error
- error_code
- credits_used
- provider_request_id
- created_at
- started_at
- completed_at
ImageGenerateRequest:
type: object
properties:
model:
type: string
examples:
- fast
- balanced
- quality
- fal-ai/z-image/turbo
- fal-ai/nano-banana-2
- openai/gpt-image-2.5/flare/text-to-image
description: A quality tier (fast, balanced, quality) or any fal.ai image endpoint id. Prefer a tier — it tracks the best current model for that price point. Defaults to fal-ai/nano-banana-2; `GET /v1/images/models` maps tiers to ids with live pricing.
input:
type: object
description: Model-specific input, forwarded to fal verbatim. `prompt` is required.
properties:
prompt:
type: string
description: Text prompt describing the image to generate.
required:
- prompt
required:
- input
ListResponse_GenerationModel:
type: object
properties:
object:
type: string
enum:
- list
data:
type: array
items:
$ref: '#/components/schemas/GenerationModel'
has_more:
type: boolean
url:
type: string
required:
- object
- data
- has_more
- url
Error:
type: object
properties:
error:
type: object
properties:
type:
type: string
enum:
- api_error
- invalid_request_error
- validation_error
code:
type: string
message:
type: string
param:
type: string
errors:
type: object
doc_url:
type: string
required:
- type
- message
required:
- error
ImageUpscaleRequest:
type: object
properties:
model:
type: string
examples:
- fast
- balanced
- quality
- fal-ai/seedvr/upscale/image
- fal-ai/topaz/upscale/image
- topaz/upscale/image/generative
description: A quality tier (fast, balanced, quality) or any fal.ai upscaling endpoint id. Prefer a tier — it tracks the best current model for that price point. Defaults to fal-ai/topaz/upscale/image.
input:
type: object
description: Model-specific input, forwarded to fal verbatim. `image_url` is required.
properties:
image_url:
type: string
format: uri
description: URL of the source image to upscale.
scale:
type: integer
enum:
- 2
- 4
default: 2
description: Upscaling factor. Defaults to 2.
output_format:
type: string
enum:
- jpeg
- png
default: jpeg
description: Output image format. Defaults to jpeg.
required:
- image_url
required:
- input
responses:
BadRequest:
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
type: invalid_request_error
code: bad_request
message: The request was malformed or contained invalid parameters
headers:
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
Request-Id:
$ref: '#/components/headers/RequestId'
Deprecation:
$ref: '#/components/headers/Deprecation'
Sunset:
$ref: '#/components/headers/Sunset'
Link:
$ref: '#/components/headers/DeprecationLink'
Unauthorized:
description: Authentication required
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
type: invalid_request_error
code: authentication_required
message: You did not provide an API key.
headers:
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
Request-Id:
$ref: '#/components/headers/RequestId'
Deprecation:
$ref: '#/components/headers/Deprecation'
Sunset:
$ref: '#/components/headers/Sunset'
Link:
$ref: '#/components/headers/DeprecationLink'
TooManyRequests:
description: 'Rate limit exceeded — 600 requests per minute per owner on the free tier: every API key and OAuth token one person holds on an account shares one budget, and the account''s team keys share another. Retry after the number of seconds in `Retry-After`.'
headers:
Retry-After:
$ref: '#/components/headers/RetryAfter'
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
type: invalid_request_error
code: rate_limit_exceeded
message: Too many requests. Please retry later.
InternalServerError:
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
type: api_error
code: internal_error
message: An unexpected error occurred
headers:
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
Request-Id:
$ref: '#/components/headers/RequestId'
Deprecation:
$ref: '#/components/headers/Deprecation'
Sunset:
$ref: '#/components/headers/Sunset'
Link:
$ref: '#/components/headers/DeprecationLink'
UnprocessableEntity:
description: Validation error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error:
type: validation_error
code: validation_failed
message: Email is required
errors:
email:
- can't be blank
headers:
RateLimit:
$ref: '#/components/headers/RateLimit'
RateLimit-Policy:
$ref: '#/components/headers/RateLimitPolicy'
Request-Id:
$ref: '#/components/headers/RequestId'
Deprecation:
$ref: '#/components/headers/Deprecation'
Sunset:
$ref: '#/components/headers/Sunset'
Link:
$ref: '#/components/headers/DeprecationLink'
headers:
Sunset:
description: Present only on a deprecated operation. HTTP-date (RFC 8594) after which the operation stops responding. Always at least six months after `Deprecation`.
schema:
type: string
examples:
- Thu, 01 Oct 2026 00:00:00 GMT
RequestId:
description: Unique id for this request. Quote it when reporting a problem.
schema:
type: string
examples:
- 8fe045fe-cb8a-4407-a44d-5df60385e522
DeprecationLink:
description: Present only on a deprecated operation. `<url>; rel="deprecation"` pointing at the migration notes.
schema:
type: string
examples:
- <https://crevio.co/docs/developer/guides/versioning>; rel="deprecation"
RetryAfter:
description: Seconds to wait before retrying.
schema:
type: integer
examples:
- 11
Deprecation:
description: Present only on a deprecated operation. Structured-field date (RFC 9745) — `@` followed by the Unix timestamp at which the operation became deprecated.
schema:
type: string
examples:
- '@1775001600'
RateLimit:
description: 'Remaining quota for the current window, as an IETF structured field: `"default";r=<remaining>;t=<seconds until reset>`.'
schema:
type: string
examples:
- '"default";r=596;t=11'
RateLimitPolicy:
description: 'The quota this credential is subject to: `"default";q=<requests>;w=<window seconds>`.'
schema:
type: string
examples:
- '"default";q=600;w=60'
securitySchemes:
ApiKey:
type: apiKey
in: header
name: Authorization
description: 'API key in the format: Bearer {api_token}'
externalDocs:
description: Crevio developer documentation
url: https://crevio.co/docs/developer
x-mint:
mcp:
enabled: true
x-api-lifecycle:
current_major_version: v1
versioning_scheme: URL path
deprecation_policy_url: https://crevio.co/docs/developer/guides/versioning
minimum_notice_days: 183
deprecation_headers:
- Deprecation
- Sunset
- Link