Image model
Recraft V4.1 Flash
recraft/recraft-v4.1-flash
recraft/recraft-v4.1-flash is an image generation model from Recraft you can call on the OceanToken API.
Price card, similar models and questions answered: Recraft V4.1 Flash on oceantoken.ai.
At a glance
| Model ID | recraft/recraft-v4.1-flash |
|---|---|
| Type | Image |
| Publisher | Recraft |
| Price | On oceantoken.ai |
| Endpoint | /v1/images/generations, /v1/images/edits |
| API shape | OpenAI-compatible |
| In the catalog since | 2026-09-23 |
API
POST /v1/images/generations. Base URL https://api.oceantoken.ai, your OceanToken key as the bearer token. The OpenAI SDKs work unchanged; see the Quickstart.
Download this spec (JSON) · llms.txt for AI assistants
Basic
- curl
- Python
- JavaScript
curl https://api.oceantoken.ai/v1/images/generations \
-H "Authorization: Bearer $OCEANTOKEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "recraft/recraft-v4.1-flash",
"prompt": "A lighthouse at dawn, watercolor",
"size": "1:1"
}'
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.oceantoken.ai/v1", api_key=os.environ["OCEANTOKEN_API_KEY"])
result = client.images.generate(
model="recraft/recraft-v4.1-flash",
prompt="A lighthouse at dawn, watercolor",
size="1:1",
)
print(result.data[0].url) # download within 24 hours
import OpenAI from 'openai';
const client = new OpenAI({baseURL: 'https://api.oceantoken.ai/v1', apiKey: process.env.OCEANTOKEN_API_KEY});
const result = await client.images.generate({
"model": "recraft/recraft-v4.1-flash",
"prompt": "A lighthouse at dawn, watercolor",
"size": "1:1"
});
console.log(result.data[0].url); // download within 24 hours
Request parameters
Only what this model takes. Anything else in the request is left out before it reaches the model.
| Parameter | Type | Description |
|---|---|---|
modelrequired | string | This model's ID. |
promptrequired | string | What to draw. |
size | string 1:1, 4:3, 3:4, 16:9, 9:16 | Aspect ratio. Width x height such as 1024x1024 is accepted too and mapped to its ratio. |
n | integer 1 to 6 default 1 | How many images. |
Response
| Field | Type | Description |
|---|---|---|
created | integer | Unix time. |
data[].url | string | The image. Download it within 24 hours. |
Example response
{
"created": 1792000000,
"data": [
{
"url": "https://..."
}
]
}
More examples and how errors and billing work: Images.
Compared with similar models
Image models on OceanToken in the same price range as recraft/recraft-v4.1-flash. Compare their prices on oceantoken.ai.
| Model | Publisher | Context |
|---|---|---|
Recraft V4.1 Flashrecraft/recraft-v4.1-flash | Recraft | — |
Seedream 5.0 Flashbytedance-seed/seedream-5-0-flash | ByteDance Seed | — |
Krea 2 Medium Turbokrea/krea-2-medium-turbo | Krea | — |
Riverflow V2.5 Fastsourceful/riverflow-v2.5-fast | Sourceful | — |
More from Recraft
- Recraft V3
recraft/recraft-v3 - Recraft V4
recraft/recraft-v4 - Recraft V4 Pro
recraft/recraft-v4-pro - Recraft V4 Pro Vector
recraft/recraft-v4-pro-vector - Recraft V4 Styles
recraft/recraft-v4-styles - Recraft V4 Styles Pro
recraft/recraft-v4-styles-pro - Recraft V4 Styles Pro Vector
recraft/recraft-v4-styles-pro-vector - Recraft V4 Styles Vector
recraft/recraft-v4-styles-vector
All Recraft models on OceanToken
Use it
Create an account Price on oceantoken.ai
The facts on this page were read from the live OceanToken catalog on 2026-11-05 (UTC), when the documentation was built. Prices are published on oceantoken.ai.