Riverflow 2 Preview Max
Riverflow 2 Preview Max targets commercial image work that needs strict control over detail and lighting. It produces clean product renders with accurate reflections and sharp textures. Use it when you need consistent visual quality for campaigns or client deliveries.
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: 3 -
List of reference images (UUID, URL, Data URI, or Base64).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: sourceful:2@3 -
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
Glacial Couture Handbag Tableau
{
"taskType": "imageInference",
"taskUUID": "c9b39340-c585-4ec3-8437-ca29de2e659f",
"model": "sourceful:2@3",
"positivePrompt": "A luxury structured handbag displayed on a carved block of pale blue ice in a pristine studio set, ivory pebbled leather with brushed platinum clasp and hardware, immaculate edge paint, visible fine stitching, soft cashmere scarf partially draped beside it, scattered clear quartz shards and a few silver leaves for styling, cool high-fashion advertising aesthetic, ultra-clean composition, three-quarter product angle, sharp textures, accurate specular highlights, refined reflections, subtle shadow falloff, premium catalog quality, controlled diffused key light with narrow rim light, elegant winter palette of ivory, frost blue, and silver, photoreal, extremely detailed, commercial luxury campaign image",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "c9b39340-c585-4ec3-8437-ca29de2e659f",
"imageUUID": "ab017a1e-6c36-42fc-8419-dcc1f8c304e9",
"imageURL": "https://im.runware.ai/image/os/a17d13/ws/2/ii/ab017a1e-6c36-42fc-8419-dcc1f8c304e9.jpg",
"seed": 1011103804,
"cost": 0.075
}Luxury Wristwatch Marble Pedestal
{
"taskType": "imageInference",
"taskUUID": "4e3b009f-1b29-4eb7-8c2f-79754a3739fb",
"model": "sourceful:2@3",
"positivePrompt": "A premium commercial product shot of an elegant wristwatch displayed on a carved dark marble pedestal, brushed titanium case, deep forest-green dial, faceted sapphire crystal, finely knurled crown, stitched leather strap with subtle texture, immaculate reflection control, sharp engraved markings, realistic metal anisotropy, soft directional key light from upper left, gentle fill light, faint rim highlights, seamless warm gray backdrop, minimal luxury branding aesthetic, ultra-clean composition, high-end catalog photography, exceptional texture fidelity, accurate shadows, pristine studio finish",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "4e3b009f-1b29-4eb7-8c2f-79754a3739fb",
"imageUUID": "674bcd01-4783-43da-b21c-6831aacfc572",
"imageURL": "https://im.runware.ai/image/os/a20d05/ws/2/ii/674bcd01-4783-43da-b21c-6831aacfc572.jpg",
"seed": 989285982,
"cost": 0.075
}Cut Crystal Perfume Still-Life
{
"taskType": "imageInference",
"taskUUID": "f19f2ce2-ff3b-4a62-974c-8dd6d619e151",
"model": "sourceful:2@3",
"positivePrompt": "Ultra-premium commercial product photograph of an ornate cut-crystal perfume bottle with a faceted stopper, placed on a polished black lacquer surface with a curved champagne-gold metal accent and a soft ivory backdrop. Razor-sharp glass refractions, realistic caustics, subtle reflections, immaculate highlights, engraved label plate, tiny condensation-free surface details, luxury cosmetics campaign aesthetic, balanced three-point studio lighting, high micro-contrast, clean composition, elegant negative space, rich but restrained color palette, extremely accurate materials, flawless retouching, high-end advertising render realism.",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "f19f2ce2-ff3b-4a62-974c-8dd6d619e151",
"imageUUID": "bf880993-e932-49c3-a700-8c0dab30d19e",
"imageURL": "https://im.runware.ai/image/os/a16d07/ws/2/ii/bf880993-e932-49c3-a700-8c0dab30d19e.jpg",
"seed": 424442777,
"cost": 0.075
}Crystal Perfume Bottle Still-Life
{
"taskType": "imageInference",
"taskUUID": "f7d86f8d-369a-46d5-8715-a6227f703f92",
"model": "sourceful:2@3",
"positivePrompt": "A luxury crystal perfume bottle centered on a sculpted black basalt plinth, faceted clear glass with pale amber liquid, brushed champagne-gold cap, engraved label plate, immaculate studio product photography, razor-sharp textures, accurate caustics and reflections, soft directional key light from upper left, subtle rim light, gentle shadow falloff on seamless warm gray background, premium cosmetics campaign aesthetic, ultra-clean composition, realistic materials, high micro-contrast, elegant negative space, flawless commercial retouching, no people, no extra objects",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "f7d86f8d-369a-46d5-8715-a6227f703f92",
"imageUUID": "8c2c4976-7a97-4672-9bef-44ef6e53631d",
"imageURL": "https://im.runware.ai/image/os/a03d21/ws/2/ii/8c2c4976-7a97-4672-9bef-44ef6e53631d.jpg",
"seed": 538581931,
"cost": 0.075
}