Riverflow 2.0 Pro
Riverflow 2.0 Pro is a professional image generation and editing model built for high-accuracy commercial workflows. It delivers consistent layouts, precise product rendering through reference-based super resolution, and reliable font control for brand-critical typography. A multi-stage generation and self-correction process reduces visual errors and enables production-ready output for ads, ecommerce, packaging, and editorial content.
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 min items: 1max items: 10 -
List of reference images (UUID, URL, Data URI, or Base64).
-
inputs»superResolutionReferenceImagessuperResolutionReferenceImages
array of strings min items: 1max items: 4 -
High-quality detail images used to upscale specific elements in the reference image (UUID, URL, Data URI, or Base64).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: sourceful:riverflow-2.0@pro -
Identifier of the model to use for generation.
Learn more 3 resources
-
positivePrompt
string required min: 2 -
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
Avant-Garde Luxury Watch Collage
{
"taskType": "imageInference",
"taskUUID": "f58af3cd-9c8f-47c2-9815-03cbec9bebc4",
"model": "sourceful:riverflow-2.0@pro",
"positivePrompt": "Create a premium editorial advertisement composition using all three reference images: feature the luxury wristwatch as the hero subject, integrate the black marble pedestal as the base platform, and weave the translucent teal water form through the background and around the product as a sculptural accent. Ultra-refined commercial photography, precise product geometry, realistic metal reflections, legible watch face details, elegant negative space, moody luxury lighting, high-end magazine aesthetic, sophisticated dark palette with teal and gold accents, production-ready brand campaign look.",
"width": 2304,
"height": 1728,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/f7b7f0cc-d68b-4962-b137-f371d5144f40.jpg",
"https://assets.runware.ai/assets/inputs/a10e04d7-d588-4233-9fdb-70a205e32dd6.jpg",
"https://assets.runware.ai/assets/inputs/69db76c9-c454-4e23-93ee-afeb2b899edb.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "f58af3cd-9c8f-47c2-9815-03cbec9bebc4",
"imageUUID": "51aab533-6d70-4569-8c0e-bdb878dad2c0",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/51aab533-6d70-4569-8c0e-bdb878dad2c0.jpg",
"seed": 150585637,
"cost": 0.15
}Luxury Watch Macro Editorial
{
"taskType": "imageInference",
"taskUUID": "5e6f2ef5-a680-4046-b004-26e6d2697f7f",
"model": "sourceful:riverflow-2.0@pro",
"positivePrompt": "Premium commercial hero shot of a luxury titanium wristwatch presented as a high-end editorial advertisement, combining the composition of the studio watch reference with the mood and environment of the minimalist basalt still life. Emphasize impeccable product geometry, accurate bracelet links, realistic sapphire crystal, precise dial printing, elegant serif numerals, brushed titanium surfaces, polished chamfers, subtle water reflections, deep teal and charcoal palette, controlled dramatic rim lighting, clean negative space, magazine-quality retouching, ultra-sharp macro realism, production-ready ecommerce and print finish.",
"width": 2304,
"height": 1728,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/e4093aac-a001-4faf-b26d-f604b2a513f1.jpg",
"https://assets.runware.ai/assets/inputs/95777cfe-a209-4715-940b-ea1472aa86a9.jpg"
],
"superResolutionReferenceImages": [
"https://assets.runware.ai/assets/inputs/ca0a60d3-4cd9-484a-bed0-120ffc4b7cb0.jpg",
"https://assets.runware.ai/assets/inputs/701e4ed1-852d-457c-9018-d09e08e46990.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "5e6f2ef5-a680-4046-b004-26e6d2697f7f",
"imageUUID": "06618f20-f967-4dc7-a0bc-8f8411b081d2",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/2/ii/06618f20-f967-4dc7-a0bc-8f8411b081d2.jpg",
"seed": 1454575425,
"cost": 0.35
}Art Deco Perfume Editorial
{
"taskType": "imageInference",
"taskUUID": "95da160f-a561-45c4-a47e-463342e18031",
"model": "sourceful:riverflow-2.0@pro",
"positivePrompt": "Luxury editorial product advertisement for an emerald glass perfume bottle with a faceted gold cap, centered on a black lacquer pedestal, surrounded by subtle curls of translucent silk and scattered jasmine petals, Art Deco styling, geometric gold inlay background, dramatic studio lighting with crisp specular highlights, rich shadows, pristine reflective surfaces, premium cosmetics photography, highly accurate packaging proportions, elegant cream label with fine gold border and readable brand-style text appearance, sophisticated teal, ivory, and gold palette, ultra-clean composition, commercial beauty campaign aesthetic, photoreal, meticulously detailed, production-ready ad image",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "95da160f-a561-45c4-a47e-463342e18031",
"imageUUID": "2dfd19c2-c5f1-4c22-ba91-a945c862d2a8",
"imageURL": "https://im.runware.ai/image/os/a02d21/ws/2/ii/2dfd19c2-c5f1-4c22-ba91-a945c862d2a8.jpg",
"seed": 1211054905,
"cost": 0.15
}Luxury Watch Macro Advertisement
{
"taskType": "imageInference",
"taskUUID": "a0d26c6d-a427-4406-bb1f-7c393b755c42",
"model": "sourceful:riverflow-2.0@pro",
"positivePrompt": "Premium luxury watch advertising image, based on the reference watch composition, refined into a high-end editorial studio hero shot on a deep charcoal gradient background with elegant controlled reflections, ultra-precise stainless steel rendering, crisp engraved bezel, immaculate dial typography, sharp applied indices, realistic sapphire crystal glare, premium commercial retouching, balanced negative space, sophisticated Swiss-brand aesthetic, photorealistic, exceptionally clean product edges, enhanced micro-detail using the super-resolution references for dial print, hands, brushing, and bracelet finish.",
"width": 2496,
"height": 1664,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/b38d4785-136a-421f-9908-9b5f8d10578e.jpg"
],
"superResolutionReferenceImages": [
"https://assets.runware.ai/assets/inputs/7f2d06ec-7e85-4846-bf6d-e31071592cc5.jpg",
"https://assets.runware.ai/assets/inputs/0331f80e-0364-46a4-871b-e19803148058.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "a0d26c6d-a427-4406-bb1f-7c393b755c42",
"imageUUID": "28fb9d1f-a928-4f83-930f-7c0c868231eb",
"imageURL": "https://im.runware.ai/image/os/a22d05/ws/3/ii/28fb9d1f-a928-4f83-930f-7c0c868231eb.jpg",
"seed": 1366076608,
"cost": 0.35
}