Riverflow 2 Preview Fast
Riverflow 2 Preview Fast is a lightweight edition tuned for speed and lower cost. It supports text-to-image generation for product visuals with strong brand accuracy. It also handles precise image editing so teams can refine packaging and marketing assets efficiently.
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@2 -
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
Heritage Spice Tin Collection
{
"taskType": "imageInference",
"taskUUID": "cb03d500-1eeb-4809-89b4-20a5bf86f8ca",
"model": "sourceful:2@2",
"positivePrompt": "Create a premium packaged product hero image of three gourmet spice tins arranged in a tasteful studio composition, combining the tin form factor from the first reference with the branding language from the second reference. Brushed metal cylindrical containers with impeccably wrapped labels, embossed details, crisp typography, subtle botanical motifs, rich saffron and forest green color palette with copper accents, soft natural shadows, realistic materials, high-end food branding, clean background, commercial catalog quality, sharp focus, polished and believable packaging design",
"width": 1152,
"height": 864,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/e3d8231c-eabc-4270-97f0-7902647af032.jpg",
"https://assets.runware.ai/assets/inputs/ec3cdb87-3494-4665-930c-b822d56957df.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "cb03d500-1eeb-4809-89b4-20a5bf86f8ca",
"imageUUID": "074e6874-f707-4a52-9867-30d77f55ae55",
"imageURL": "https://im.runware.ai/image/os/a13d12/ws/2/ii/074e6874-f707-4a52-9867-30d77f55ae55.jpg",
"seed": 1503909985,
"cost": 0.03
}Sculptural Olive Oil Duo
{
"taskType": "imageInference",
"taskUUID": "502d6660-6c64-4043-abe8-7ae8dc656aa1",
"model": "sourceful:2@2",
"positivePrompt": "Create a premium culinary brand hero shot that merges the design cues of both reference images into a cohesive two-bottle olive oil collection. One bottle tall and refined, one bottle shorter and rounded, displayed side by side on pale travertine blocks with scattered fresh olive branches and a folded linen cloth. Emphasize believable packaging details, elegant Mediterranean-inspired branding, crisp label legibility, natural studio lighting, soft directional shadows, realistic glass and ceramic materials, upscale grocery campaign aesthetic, clean art direction, high product accuracy, subtle warm tones, shallow depth of field, immaculate commercial photography.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/a2dd2fe3-9d38-46d5-a552-536e5fd51e02.jpg",
"https://assets.runware.ai/assets/inputs/b1180400-01e4-4d37-8ac1-599b1ccbc3bd.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "502d6660-6c64-4043-abe8-7ae8dc656aa1",
"imageUUID": "8352f8a8-182e-4fef-b754-1b973e574006",
"imageURL": "https://im.runware.ai/image/os/a08d21/ws/2/ii/8352f8a8-182e-4fef-b754-1b973e574006.jpg",
"seed": 203200060,
"cost": 0.03
}Alpine Skincare Gift Ensemble
{
"taskType": "imageInference",
"taskUUID": "0c3237fe-8336-403b-9e30-fe254ea0ff3d",
"model": "sourceful:2@2",
"positivePrompt": "Create a premium skincare gift set hero image by blending the product design cues from the first reference image with the refined styling and material language from the second reference image. Feature a frosted glass serum bottle accompanied by a matching cream jar and carton, arranged on pale stone with soft linen folds and fresh rosemary accents. Preserve realistic label alignment, believable packaging structure, subtle embossed details, crisp edges, natural shadows, cool alpine-inspired palette of sage, ivory, and stone, luxury commercial photography, clean background, high brand accuracy, polished ecommerce-ready composition.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/b934957c-3d8f-476f-afef-2a7eda9c2d63.jpg",
"https://assets.runware.ai/assets/inputs/67c737b2-3965-45e4-aa44-7243522c8f82.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "0c3237fe-8336-403b-9e30-fe254ea0ff3d",
"imageUUID": "d4042568-d8a1-4520-a760-59636a8ff525",
"imageURL": "https://im.runware.ai/image/os/a01d21/ws/2/ii/d4042568-d8a1-4520-a760-59636a8ff525.jpg",
"seed": 1141904400,
"cost": 0.03
}Artisanal Citrus Bottle Arrangement
{
"taskType": "imageInference",
"taskUUID": "c6fe90a2-2c9e-42c1-ba7d-20927f310da7",
"model": "sourceful:2@2",
"positivePrompt": "A high-end commercial product shot of a premium sparkling citrus drink line arranged on pale travertine blocks, three slender glass bottles with consistent brand design, ivory labels with deep olive typography, a small sun emblem, brushed copper caps, visible condensation, sliced yuzu and blood orange placed with restraint, a folded linen swatch, soft directional morning light, crisp natural shadows, elegant Mediterranean-inspired palette, realistic glass refraction, accurate label placement, luxury grocery branding, clean negative space for ad copy, ultra-detailed packaging, photorealistic studio quality",
"width": 1248,
"height": 832
}{
"taskType": "imageInference",
"taskUUID": "c6fe90a2-2c9e-42c1-ba7d-20927f310da7",
"imageUUID": "520de7b9-098b-4f6f-9e3f-f2dfeeb5c737",
"imageURL": "https://im.runware.ai/image/os/a09d21/ws/2/ii/520de7b9-098b-4f6f-9e3f-f2dfeeb5c737.jpg",
"seed": 1995395687,
"cost": 0.03
}