Riverflow 1.1 Mini
Riverflow 1.1 Mini is a compact image editing model that targets speed and low cost while staying close to Riverflow 1.1 quality for most tasks. It is suited for bulk image transformations, iterative design workflows, and integration into production pipelines with tight latency limits.
API Options
Platform-level options for task execution and delivery.
-
taskType
string required value: imageInference -
Identifier for the type of task being performed
-
taskUUID
string required UUID v4 -
UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
-
outputType
string default: URL -
Image output type.
Allowed values 3 values
-
outputFormat
string default: JPG -
Specifies the file format of the generated output. The available values depend on the task type and the specific model's capabilities.
- `JPG`: Best for photorealistic images with smaller file sizes (no transparency).
- `PNG`: Lossless compression, supports high quality and transparency (alpha channel).
- `WEBP`: Modern format providing superior compression and transparency support.
**Transparency**: If you are using features like background removal or LayerDiffuse that require transparency, you must select a format that supports an alpha channel (e.g., `PNG`, `WEBP`, `TIFF`). `JPG` does not support transparency.Allowed values 3 values
-
outputQuality
integer min: 20 max: 99 default: 95 -
Compression quality of the output. Higher values preserve quality but increase file size.
-
webhookURL
string URI -
Specifies a webhook URL where JSON responses will be sent via HTTP POST when generation tasks complete. For batch requests with multiple results, each completed item triggers a separate webhook call as it becomes available.
Learn more 1 resource
- Webhooks PLATFORM
- Webhooks
-
deliveryMethod
string default: sync -
Determines how the API delivers task results.
Allowed values 2 values
- Returns complete results directly in the API response.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more 1 resource
- Task Polling PLATFORM
-
uploadEndpoint
string URI -
Specifies a URL where the generated content will be automatically uploaded using the HTTP PUT method. The raw binary data of the media file is sent directly as the request body. For secure uploads to cloud storage, use presigned URLs that include temporary authentication credentials.
Common use cases:
- Cloud storage: Upload directly to S3 buckets, Google Cloud Storage, or Azure Blob Storage using presigned URLs.
- CDN integration: Upload to content delivery networks for immediate distribution.
// S3 presigned URL for secure upload https://your-bucket.s3.amazonaws.com/generated/content.mp4?X-Amz-Signature=abc123&X-Amz-Expires=3600 // Google Cloud Storage presigned URL https://storage.googleapis.com/your-bucket/content.jpg?X-Goog-Signature=xyz789 // Custom storage endpoint https://storage.example.com/uploads/generated-image.jpgThe content data will be sent as the request body to the specified URL when generation is complete.
-
safety
object -
Content safety checking configuration for image generation.
Properties 2 properties
-
safety»checkContentcheckContent
boolean default: false -
Enable or disable content safety checking. When enabled, defaults to
fastmode.
-
safety»modemode
string default: none -
Safety checking mode for image generation.
Allowed values 2 values
- Disables checking.
- Performs a single check.
-
-
ttl
integer min: 60 -
Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
-
includeCost
boolean default: false -
Include task cost in the response.
-
numberResults
integer min: 1 max: 20 default: 1 -
Number of results to generate. Each result uses a different seed, producing variations of the same parameters.
Inputs
Input resources for the task (images, audio, etc). These must be nested inside the inputs object.
inputs object.-
inputs»referenceImagesreferenceImages
array of strings required min items: 1max items: 10 -
List of reference images (UUID, URL, Data URI, or Base64).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: sourceful:1@0 -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required -
Text prompt describing elements to include in the generated output.
Learn more 2 resources
-
Width of the generated media in pixels.
Learn more 2 resources
-
Height of the generated media in pixels.
Learn more 2 resources
Submerged Clockwork Garden Collage
{
"taskType": "imageInference",
"taskUUID": "26ab810a-a9cc-419a-9314-69067334ae03",
"model": "sourceful:1@0",
"positivePrompt": "Create a surreal composition that fuses the three reference images into a single elegant scene: a submerged mechanical garden where opened clockwork mechanisms blossom into ferns and orchids, with delicate gears entwined by stems and leaves, all floating underwater in luminous blue-green depth. Emphasize seamless integration of brass machinery, organic plant forms, and aquatic atmosphere; cinematic light beams, drifting bubbles, rich textures, refined color harmony, imaginative editorial-quality composition.",
"width": 1152,
"height": 896,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/4d13abfc-d58e-4b0d-999a-31cf044f6c3e.jpg",
"https://assets.runware.ai/assets/inputs/d018f0e6-dbce-4237-93d8-0809f78ec259.jpg",
"https://assets.runware.ai/assets/inputs/3bdbabdf-46c4-4f1c-9c4b-8ba0c0f65713.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "26ab810a-a9cc-419a-9314-69067334ae03",
"imageUUID": "76fe3757-c1fd-40b1-8cc0-b25666b3a41a",
"imageURL": "https://im.runware.ai/image/os/a15d18/ws/2/ii/76fe3757-c1fd-40b1-8cc0-b25666b3a41a.jpg",
"seed": 282525673,
"cost": 0.03025
}Windup Menagerie Storybook Collage
{
"taskType": "imageInference",
"taskUUID": "3a38d5bc-3ea2-46dd-8579-633c804325a3",
"model": "sourceful:1@0",
"positivePrompt": "Create a whimsical storybook collage that merges elements from the three reference images into one polished fantasy illustration: a graceful swan-shaped clockwork creature assembled from brass watch gears and springs, standing among giant autumn mushrooms in a mossy woodland clearing. Preserve recognizable cues from all three references while transforming them into a unified composition. Warm copper and amber palette, intricate mechanical detailing, soft painterly textures, cinematic depth, enchanting children's-book illustration, balanced composition, highly cohesive lighting and style.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/f8ce8053-dac5-40a5-ad43-b860f9ced5d6.jpg",
"https://assets.runware.ai/assets/inputs/8d0924bc-00cb-49a2-ab78-9b0a4fb8fe6a.jpg",
"https://assets.runware.ai/assets/inputs/2ccc749a-d557-4a20-a2fe-109469c91f2c.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "3a38d5bc-3ea2-46dd-8579-633c804325a3",
"imageUUID": "de7b19ce-1181-4213-a738-643780f737fb",
"imageURL": "https://im.runware.ai/image/os/a22d05/ws/2/ii/de7b19ce-1181-4213-a738-643780f737fb.jpg",
"seed": 1069829880,
"cost": 0.03025
}Kite Workshop Rooftop Scene
{
"taskType": "imageInference",
"taskUUID": "bc72b8c0-a83c-4734-a61d-6062fc6f6527",
"model": "sourceful:1@0",
"positivePrompt": "Transform the reference image into a windswept rooftop artisan scene in a coastal hillside city at late afternoon, keeping the main person's pose and camera angle similar while redesigning the environment with hand-painted paper kites, bamboo frames, spools of thread, cloth streamers, weathered plaster walls, distant terraced houses, circling swallows, and warm golden light. Dress the subject in layered workwear with indigo fabric, scuffed boots, and a leather belt pouch. Add tactile details like peeling paint, sun-faded fabric, wooden crates, chalk sketches, and soft haze over the far skyline. Cinematic realism, nuanced textures, natural colors, grounded human storytelling, crisp detail, dynamic breeze, elegant composition.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/8e8eac44-000c-4d32-86f9-ac187e3ee25f.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "bc72b8c0-a83c-4734-a61d-6062fc6f6527",
"imageUUID": "16063ec5-0b61-4253-bcdc-ca7ff32addc1",
"imageURL": "https://im.runware.ai/image/os/a01d21/ws/2/ii/16063ec5-0b61-4253-bcdc-ca7ff32addc1.jpg",
"seed": 765604170,
"cost": 0.03025
}Volcanic Glasshouse Fashion Editorial
{
"taskType": "imageInference",
"taskUUID": "6a73d5fd-bbb7-4208-96b6-e22a81de86d3",
"model": "sourceful:1@0",
"positivePrompt": "Transform the reference image into an avant-garde fashion editorial set inside a vast volcanic glasshouse. Preserve the model's pose and overall framing, but restyle the environment into sweeping black glass arches, smoky amber light, polished obsidian walkways, and giant mineral-like plants with crimson and copper leaves. Add cinematic haze, elegant reflections, dramatic directional highlights, refined fabric texture, luxurious styling, editorial realism, crisp facial detail, sophisticated color grading, high-end magazine photography aesthetic.",
"width": 1152,
"height": 896,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/686cdf11-b380-4305-888b-a11acf46a26e.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "6a73d5fd-bbb7-4208-96b6-e22a81de86d3",
"imageUUID": "0ba98b2d-7eaa-45fa-b698-984fbff488e1",
"imageURL": "https://im.runware.ai/image/os/a21d05/ws/2/ii/0ba98b2d-7eaa-45fa-b698-984fbff488e1.jpg",
"seed": 31761181,
"cost": 0.03025
}