Riverflow 1.1 Pro
Riverflow 1.1 Pro is a professional image editing model for precise retouching and layout safe changes. It supports multi image inputs, aspect ratio control and text guided edits. Use it to adjust lighting, replace objects or refine packaging visuals with consistent output.
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 required min items: 1max items: 10 -
List of reference images (UUID, URL, Data URI, or Base64).
Generation Parameters
Core parameters for controlling the generated content.
-
model
string required value: sourceful:1@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
Artisan Perfume Box Refresh
{
"taskType": "imageInference",
"taskUUID": "592996f9-2bea-4e3a-b050-df6e7953947d",
"model": "sourceful:1@2",
"positivePrompt": "Refine this product packaging photo into a premium apothecary gift presentation. Keep the same box angle, scale, camera framing, and stone surface. Replace the worn beige paper with rich deep-indigo textured paper, add a narrow copper foil band and a neatly tied dark cream ribbon, emboss a subtle river motif on the lid, improve edge crispness, remove dents and scuffs, balance the lighting into a soft directional studio glow from upper left, add realistic contact shadows, preserve a natural commercial photography look, elegant artisanal branding aesthetic, highly polished but believable materials, clean background, no extra objects, no hands, no dramatic distortion.",
"width": 1152,
"height": 864,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/fcdafdde-b9e4-4c3a-bff9-bb45f9174e43.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "592996f9-2bea-4e3a-b050-df6e7953947d",
"imageUUID": "8c80a2f6-f34a-4d64-a42d-4d07e74e76a0",
"imageURL": "https://im.runware.ai/image/os/a15d18/ws/2/ii/8c80a2f6-f34a-4d64-a42d-4d07e74e76a0.jpg",
"seed": 681039384,
"cost": 0.077
}Alpine Watch Packaging Refresh
{
"taskType": "imageInference",
"taskUUID": "bd49cb13-b4c6-4d52-a581-f15802a6de2c",
"model": "sourceful:1@2",
"positivePrompt": "Using the first reference image as the base composition, refine the premium watch packaging for a high-end catalog hero shot. Replace plain box accents with brushed copper hardware inspired by the second reference image, and update the outer wrap to deep forest green leather with subtle cream stitching inspired by the third reference image. Preserve the original box angle, proportions, and realistic studio lighting. Improve edge cleanliness, material realism, hinge detailing, and insert cushioning. Add tasteful embossed geometric linework on the lid, keep the background minimal and elegant, and ensure the result feels polished, luxurious, and commercially believable.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/fc57f9ca-e648-4992-8e44-6ce59b0b4448.jpg",
"https://assets.runware.ai/assets/inputs/dd23cebe-9739-4b8d-96e6-9fb4ab8b82e4.jpg",
"https://assets.runware.ai/assets/inputs/96bb04dc-5b22-460b-a113-f1b64c0169a5.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "bd49cb13-b4c6-4d52-a581-f15802a6de2c",
"imageUUID": "90168d9f-64ef-4066-b805-7a758bb03366",
"imageURL": "https://im.runware.ai/image/os/a13d12/ws/2/ii/90168d9f-64ef-4066-b805-7a758bb03366.jpg",
"seed": 747642294,
"cost": 0.077
}Antique Map Restoration Layout
{
"taskType": "imageInference",
"taskUUID": "8fdf878d-31b2-40f7-9e24-1222842939e4",
"model": "sourceful:1@2",
"positivePrompt": "Using the reference image as the base, restore the antique nautical map into a refined print-ready composition. Preserve the exact geography, framing, cartographic linework, compass roses, border ornaments, and hand-drawn labeling style. Remove tears, heavy stains, smudges, fold damage, and distracting discoloration while keeping believable parchment texture and gentle age character. Deepen the sepia ink, improve legibility of place names, subtly rebalance empty margin space, and enhance fine engraved details for a polished archival look. Elegant historical cartography, crisp craftsmanship, natural paper grain, restrained color palette, premium restoration aesthetic.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/cfdec392-3754-4c8a-b605-6faadb7b8a5c.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "8fdf878d-31b2-40f7-9e24-1222842939e4",
"imageUUID": "f9d5862d-f4b3-4b7c-84e5-40cce4f15a5a",
"imageURL": "https://im.runware.ai/image/os/a19d05/ws/2/ii/f9d5862d-f4b3-4b7c-84e5-40cce4f15a5a.jpg",
"seed": 1396060542,
"cost": 0.077
}Botanical Skincare Gift Suite
{
"taskType": "imageInference",
"taskUUID": "73ca81d2-fff6-4dbe-a3d1-725a00f09199",
"model": "sourceful:1@2",
"positivePrompt": "Using all three reference images, create a cohesive premium skincare gift-set hero image. Keep the main box structure from the first reference, integrate the green glass bottle material and brass cap finish from the second reference, and incorporate the herb, bergamot, fig leaf, and sage linen styling cues from the third reference. Arrange the products in a balanced luxury retail composition on a pale stone surface with soft directional daylight, crisp edges, accurate label alignment, refined shadows, realistic reflections, and elegant negative space. Emphasize natural apothecary sophistication, tactile packaging detail, color harmony in muted olive, cream, and brass, and a polished high-end commercial look.",
"width": 1248,
"height": 832,
"inputs": {
"referenceImages": [
"https://assets.runware.ai/assets/inputs/7c5c47b8-3c90-4332-aca0-8b09dfa2653a.jpg",
"https://assets.runware.ai/assets/inputs/641fc235-3814-4a6e-9ed1-a255eb1ff974.jpg",
"https://assets.runware.ai/assets/inputs/cbdab71b-16b2-440e-899d-54ac67134231.jpg"
]
}
}{
"taskType": "imageInference",
"taskUUID": "73ca81d2-fff6-4dbe-a3d1-725a00f09199",
"imageUUID": "5859e798-1429-429a-b8e5-e345d63f2aed",
"imageURL": "https://im.runware.ai/image/os/a18d05/ws/2/ii/5859e798-1429-429a-b8e5-e345d63f2aed.jpg",
"seed": 1800179029,
"cost": 0.077
}