Riverflow 2 Preview Standard
Riverflow 2 Preview Standard targets production image pipelines. It balances realism with controllable detail and stable reference product handling. Ideal for brand visuals that require consistent styling, precise prompt response and smooth integration into creative tools.
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@1 -
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
Alpine Perfume Brand Tableau
{
"taskType": "imageInference",
"taskUUID": "17408df5-3d3b-46e2-8f4d-ff82d0150249",
"model": "sourceful:2@1",
"positivePrompt": "Luxury fragrance campaign still life featuring the same frosted-glass perfume bottle with brushed silver cap and minimalist cream label, placed on weathered stone in an alpine meadow at sunrise, tiny wildflowers scattered around the base, distant snow-capped mountains softly out of focus, airy mist in the valley, crisp premium product photography, refined natural color palette, realistic materials, elegant composition, shallow depth of field, soft directional sunlight, high-end beauty advertising aesthetic, precise label preservation, clean sophisticated styling",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/a45b1186-e0cb-489c-9a92-fbd01d536eb6.jpg",
"https://assets.runware.ai/assets/inputs/888bb113-0215-4c17-a2aa-12c214b2526a.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "17408df5-3d3b-46e2-8f4d-ff82d0150249",
"imageUUID": "e9ccd813-c988-4c6f-a751-e3cae2b17d49",
"imageURL": "https://im.runware.ai/image/os/a19d05/ws/2/ii/e9ccd813-c988-4c6f-a751-e3cae2b17d49.jpg",
"seed": 1237559207,
"cost": 0.035
}Alpine Perfume Launch Still Life
{
"taskType": "imageInference",
"taskUUID": "6d9e8267-b3d0-4122-904f-2e1915f6221d",
"model": "sourceful:2@1",
"positivePrompt": "Luxury commercial product shot of a premium perfume bottle on a slab of pale granite beside sprigs of silver fir, crushed juniper berries, and a folded charcoal wool scarf, set on a high-altitude picnic table overlooking distant snow-dusted peaks and a cold morning sky. Crisp glass reflections, brushed metal cap, subtle condensation, shallow depth of field, elegant natural color palette of slate, pine, ivory, and soft amber, refined editorial styling, realistic textures, balanced composition with clean negative space for branding, high-end beauty campaign photography, ultra-detailed, believable lighting, sophisticated and fresh.",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "6d9e8267-b3d0-4122-904f-2e1915f6221d",
"imageUUID": "72d519b4-0eed-48ad-a192-1e7e17cf0936",
"imageURL": "https://im.runware.ai/image/os/a16d07/ws/2/ii/72d519b4-0eed-48ad-a192-1e7e17cf0936.jpg",
"seed": 466185104,
"cost": 0.035
}Velvet Jewelry Campaign Still Life
{
"taskType": "imageInference",
"taskUUID": "05d92e31-5f0f-4f83-b356-f72184473cc3",
"model": "sourceful:2@1",
"positivePrompt": "A luxury brand still life featuring a sculptural gold pendant and matching earrings arranged on layered burgundy velvet, dark plum silk ribbon, and polished black marble accents; editorial product photography, refined studio lighting, soft directional highlights, crisp metallic reflections, rich fabric texture, subtle shadow falloff, high-end commercial styling, minimal color palette of garnet, gold, and black, clean negative space for copy, ultra-detailed, realistic, elegant, premium beauty and fashion campaign aesthetic",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "05d92e31-5f0f-4f83-b356-f72184473cc3",
"imageUUID": "fbda210f-f4c4-488f-a253-650d669c8e78",
"imageURL": "https://im.runware.ai/image/os/a17d13/ws/2/ii/fbda210f-f4c4-488f-a253-650d669c8e78.jpg",
"seed": 520455137,
"cost": 0.035
}Artisanal Citrus Skincare Arrangement
{
"taskType": "imageInference",
"taskUUID": "700ae564-84b6-487a-ba8e-8a08456f3092",
"model": "sourceful:2@1",
"positivePrompt": "A premium skincare brand composition on a carved travertine pedestal: frosted glass serum bottle, matte cream jar, slim amber dropper vial, folded linen hand towel, sliced bergamot and yuzu, tiny water droplets, soft botanical shadows from unseen leaves, warm early-morning sunlight, creamy neutral palette with citrus accents, ultra-clean luxury commercial photography, realistic packaging materials, sharp label-friendly surfaces, elegant negative space, subtle depth of field, high-end editorial product shot, impeccable texture fidelity, balanced composition, natural reflections, sophisticated minimalist styling",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "700ae564-84b6-487a-ba8e-8a08456f3092",
"imageUUID": "2fc457be-335d-45a5-b5fe-ec2ceae794f5",
"imageURL": "https://im.runware.ai/image/os/a05d22/ws/2/ii/2fc457be-335d-45a5-b5fe-ec2ceae794f5.jpg",
"seed": 2063371924,
"cost": 0.035
}