Riverflow 2.0 Fast
Riverflow 2.0 Fast is an optimized image generation and editing model designed for latency-sensitive production pipelines. It maintains strong prompt adherence, accurate product rendering via reference-based super resolution, and dependable font control while prioritizing speed and throughput for large-scale brand and advertising workflows.
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@fast -
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
Artisanal Citrus Soda Campaign
{
"taskType": "imageInference",
"taskUUID": "c59d315b-dd5a-4d82-8029-7055ba871de2",
"model": "sourceful:riverflow-2.0@fast",
"positivePrompt": "Premium beverage advertising hero image featuring the referenced artisanal citrus soda bottle on a carved travertine plinth, sliced blood oranges, curling strips of orange peel, sparkling condensation, crisp glass reflections, warm Mediterranean color palette, refined editorial food photography, soft directional sunlight, airy negative space for branding, luxurious yet natural styling, ultra-clean commercial finish, highly accurate bottle proportions and label design",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/f1811ea8-d4db-4d14-897a-03f1d86ad365.jpg",
"https://assets.runware.ai/assets/inputs/df898718-7c77-4b58-a582-9f2c4c8c3a46.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "c59d315b-dd5a-4d82-8029-7055ba871de2",
"imageUUID": "447b7e01-0b47-4962-9211-941ff399fc9c",
"imageURL": "https://im.runware.ai/image/os/a10d08/ws/2/ii/447b7e01-0b47-4962-9211-941ff399fc9c.jpg",
"seed": 1068898875,
"cost": 0.02
}Copper Espresso Grinder Branding
{
"taskType": "imageInference",
"taskUUID": "fb485a13-6669-41b5-896f-922d6cc8cd49",
"model": "sourceful:riverflow-2.0@fast",
"positivePrompt": "Create a high-end commercial product scene featuring a brushed copper manual espresso grinder with matte black handle details, paired with its sleek black packaging accented by copper foil lettering. Preserve the grinder's real proportions and recognizable design from the reference images. Place the product on a polished dark stone surface with scattered roasted coffee beans, a folded linen cloth, and a soft swirl of fresh grounds for tactile realism. Use elegant directional studio lighting, crisp reflections on the metal body, shallow depth of field, premium brand-campaign styling, refined warm earthy palette, sophisticated composition, ultra-clean advertising aesthetic, sharp focus on product craftsmanship, realistic materials, fast-turnaround e-commerce quality with luxury appeal.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/c8301fbe-e280-4525-9ee2-38851ca2e9b3.jpg",
"https://assets.runware.ai/assets/inputs/52e61bca-cc60-44ba-ac20-a42943a8deb7.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "fb485a13-6669-41b5-896f-922d6cc8cd49",
"imageUUID": "e3ea5dfc-9ad1-4a98-9ebd-80daf3e677d4",
"imageURL": "https://im.runware.ai/image/os/a10d08/ws/2/ii/e3ea5dfc-9ad1-4a98-9ebd-80daf3e677d4.jpg",
"seed": 1821343337,
"cost": 0.02
}Artisan Perfume Campaign Spread
{
"taskType": "imageInference",
"taskUUID": "a1d1245a-a0e6-4a5e-87d2-629be5e63512",
"model": "sourceful:riverflow-2.0@fast",
"positivePrompt": "Using the reference product and detail images, create a high-end fragrance campaign scene on a sculpted travertine pedestal surrounded by pale apricots, soft linen folds, and drifting citrus peel accents. Early morning sunlight pours from the side, casting clean elongated shadows and warm highlights across the glass and brass cap. Keep the bottle shape, cream label, and the word 'AUREL' highly accurate and legible. Refined editorial advertising style, premium composition, natural textures, restrained color palette of ivory, sand, brass, and muted fruit tones, shallow depth of field, crisp product focus, sophisticated luxury branding aesthetic.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/e62c3dfa-97da-4458-a40d-91d395653e38.jpg"
],
"superResolutionReferenceImages": [
"https://assets.runware.ai/assets/inputs/49d86491-8784-46e0-b7b5-ccd7cbaeb716.jpg",
"https://assets.runware.ai/assets/inputs/1ff87d1c-ddf6-4d18-a498-22ef67c18fc0.jpg",
"https://assets.runware.ai/assets/inputs/eabd5513-9900-4dd7-8cb0-a8480948440a.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "a1d1245a-a0e6-4a5e-87d2-629be5e63512",
"imageUUID": "c717e595-c41e-497b-89aa-eef6b2060678",
"imageURL": "https://im.runware.ai/image/os/a20d05/ws/2/ii/c717e595-c41e-497b-89aa-eef6b2060678.jpg",
"seed": 200524378,
"cost": 0.62
}Artisanal Citrus Soda Billboard
{
"taskType": "imageInference",
"taskUUID": "be08e737-30db-4343-8bce-9a1e0fef6727",
"model": "sourceful:riverflow-2.0@fast",
"positivePrompt": "Upscale this premium beverage advertisement into a polished high-resolution brand image. Preserve the exact bottle composition and coastal lifestyle setting from the reference image while greatly increasing clarity and micro-detail. Use the super resolution references to sharpen the label typography, embossed paper texture, gold linework, tiny print, amber glass character, condensation droplets, and premium commercial finish. Maintain realistic lighting, natural color balance, clean edges, accurate packaging proportions, and luxury ad aesthetics suitable for large-format campaign use.",
"width": 2304,
"height": 1728,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/94888f41-49f0-4621-b0fe-4f42cf67c5c1.jpg"
],
"superResolutionReferenceImages": [
"https://assets.runware.ai/assets/inputs/25ff0901-aea6-4a6d-8bbf-0768241d7df0.jpg",
"https://assets.runware.ai/assets/inputs/15648693-9516-453c-a9b2-dbc3a779a091.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "be08e737-30db-4343-8bce-9a1e0fef6727",
"imageUUID": "e0befcce-f32a-4e08-9ce9-8f936d435017",
"imageURL": "https://im.runware.ai/image/os/a08d21/ws/2/ii/e0befcce-f32a-4e08-9ce9-8f936d435017.jpg",
"seed": 1536180001,
"cost": 0.04
}Alpine Skincare Bottle Hero Shot
{
"taskType": "imageInference",
"taskUUID": "de40db16-625a-41b1-83a7-cb0cdf7513d6",
"model": "sourceful:riverflow-2.0@fast",
"positivePrompt": "Luxury skincare advertisement, a frosted glass serum bottle centered on a slab of pale granite with tiny alpine wildflowers and dew drops, early morning highland air, distant snow-dusted ridges softly out of focus, refined commercial photography, pristine product rendering, elegant minimal label with sharp readable text saying 'AURELIA' and smaller line 'glacier peptide serum', silver cap, soft directional sunlight, premium beauty campaign aesthetic, realistic reflections, subtle haze, clean composition, high detail, polished brand imagery, natural color grading, fast high-end studio-on-location look",
"width": 1280,
"height": 720
}{
"taskType": "imageInference",
"taskUUID": "de40db16-625a-41b1-83a7-cb0cdf7513d6",
"imageUUID": "8640e560-faa3-475b-93bb-3607157b9278",
"imageURL": "https://im.runware.ai/image/os/a22d05/ws/2/ii/8640e560-faa3-475b-93bb-3607157b9278.jpg",
"seed": 2014643794,
"cost": 0.02
}