Riverflow 2.5 Pro

Riverflow 2.5 Pro is the higher-capability variant in Sourceful's Riverflow 2.5 family. It supports both text-to-image and image-to-image workflows and is positioned for commercial visual work that needs stronger output quality, tighter brand control, and more dependable production results across packaging, product imagery, advertising, and design-heavy creative pipelines.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
Step-by-step tutorials for advanced use cases
text-to-image
Historic Cemetery Flood Adaptation Visualization$0.179~2m 38s
Create a finished landscape-architecture visualization for a municipal planning presentation about flood adaptation at a historic coastal cemetery. Show one coherent oblique cutaway view across a gently sloping cemetery immediately after rain. The clear subject is a discreet new stormwater landscape woven respectfully among weathered nineteenth-century limestone headstones, mature live oaks, and low meadow grass. A raised permeable gravel path curves through the middle ground, crossing a shallow planted bioswale filled with blue flag iris, soft rush, sedges, and swamp milkweed. Small stone check dams slow the remaining rainwater, while a recessed rain garden collects runoff near the downhill boundary. Keep all interventions understated, dignified, realistic, and visibly accessible without disturbing graves. Along the lower foreground edge, reveal a precise sectional cutaway through the ground: permeable path layers, compacted stone base, clean gravel drainage trench, perforated pipe, geotextile, undisturbed soil horizons, carefully preserved tree roots, and a pale blue-gray water table below. Make the relationship between the visible landscape and concealed drainage construction immediately understandable without labels. Include a modest wrought-iron perimeter fence and glimpses of tidal marsh beyond the cemetery, establishing why flood resilience is needed. No workers, machinery, excavated graves, dramatic damage, or funerary activity. Lighting is calm silver-gold late afternoon after a storm, with breaks in the cloud cover, soft directional sunlight on wet stone, restrained reflections in shallow water, and humid coastal atmosphere. Art direction: highly detailed hand-rendered technical illustration combining opaque gouache, transparent watercolor washes, graphite, and colored pencil on warm ivory paper; the compositional clarity of a contemporary landscape-architecture competition drawing with the tactile dignity of a 1930s civic conservation mural. Muted mineral palette of limestone cream, moss green, celadon, iron gray, rain blue, umber, and small accents of iris violet. Accurate plant forms, believable hydrology, nuanced weathering, crisp construction details, restrained human-scale realism, quiet and reassuring mood. Landscape composition at a 3:2 ratio, with the cemetery scene occupying the upper two-thirds and the sectional ground detail integrated naturally across the lower foreground. Standalone illustration only: no title, labels, legends, numbers, logos, borders, presentation panels, interface elements, or mockup context.
import { createClient } from '@runware/sdk'
const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
const [result] = await client.run({
model: 'sourceful:riverflow-2.5@pro',
positivePrompt: 'Create a finished landscape-architecture visualization for a municipal planning presentation about flood adaptation at a historic coastal cemetery. Show one coherent oblique cutaway view across a gently sloping cemetery immediately after rain. The clear subject is a discreet new stormwater landscape woven respectfully among weathered nineteenth-century limestone headstones, mature live oaks, and low meadow grass. A raised permeable gravel path curves through the middle ground, crossing a shallow planted bioswale filled with blue flag iris, soft rush, sedges, and swamp milkweed. Small stone check dams slow the remaining rainwater, while a recessed rain garden collects runoff near the downhill boundary. Keep all interventions understated, dignified, realistic, and visibly accessible without disturbing graves.\n\nAlong the lower foreground edge, reveal a precise sectional cutaway through the ground: permeable path layers, compacted stone base, clean gravel drainage trench, perforated pipe, geotextile, undisturbed soil horizons, carefully preserved tree roots, and a pale blue-gray water table below. Make the relationship between the visible landscape and concealed drainage construction immediately understandable without labels. Include a modest wrought-iron perimeter fence and glimpses of tidal marsh beyond the cemetery, establishing why flood resilience is needed. No workers, machinery, excavated graves, dramatic damage, or funerary activity.\n\nLighting is calm silver-gold late afternoon after a storm, with breaks in the cloud cover, soft directional sunlight on wet stone, restrained reflections in shallow water, and humid coastal atmosphere. Art direction: highly detailed hand-rendered technical illustration combining opaque gouache, transparent watercolor washes, graphite, and colored pencil on warm ivory paper; the compositional clarity of a contemporary landscape-architecture competition drawing with the tactile dignity of a 1930s civic conservation mural. Muted mineral palette of limestone cream, moss green, celadon, iron gray, rain blue, umber, and small accents of iris violet. Accurate plant forms, believable hydrology, nuanced weathering, crisp construction details, restrained human-scale realism, quiet and reassuring mood. Landscape composition at a 3:2 ratio, with the cemetery scene occupying the upper two-thirds and the sectional ground detail integrated naturally across the lower foreground. Standalone illustration only: no title, labels, legends, numbers, logos, borders, presentation panels, interface elements, or mockup context.',
width: 1248,
height: 832,
settings: {
enhancePrompt: true,
thinkingLevel: 'medium'
}
})import asyncio
import os
from runware import Runware
async def main():
async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
results = await client.run({
"model": "sourceful:riverflow-2.5@pro",
"positivePrompt": "Create a finished landscape-architecture visualization for a municipal planning presentation about flood adaptation at a historic coastal cemetery. Show one coherent oblique cutaway view across a gently sloping cemetery immediately after rain. The clear subject is a discreet new stormwater landscape woven respectfully among weathered nineteenth-century limestone headstones, mature live oaks, and low meadow grass. A raised permeable gravel path curves through the middle ground, crossing a shallow planted bioswale filled with blue flag iris, soft rush, sedges, and swamp milkweed. Small stone check dams slow the remaining rainwater, while a recessed rain garden collects runoff near the downhill boundary. Keep all interventions understated, dignified, realistic, and visibly accessible without disturbing graves.\n\nAlong the lower foreground edge, reveal a precise sectional cutaway through the ground: permeable path layers, compacted stone base, clean gravel drainage trench, perforated pipe, geotextile, undisturbed soil horizons, carefully preserved tree roots, and a pale blue-gray water table below. Make the relationship between the visible landscape and concealed drainage construction immediately understandable without labels. Include a modest wrought-iron perimeter fence and glimpses of tidal marsh beyond the cemetery, establishing why flood resilience is needed. No workers, machinery, excavated graves, dramatic damage, or funerary activity.\n\nLighting is calm silver-gold late afternoon after a storm, with breaks in the cloud cover, soft directional sunlight on wet stone, restrained reflections in shallow water, and humid coastal atmosphere. Art direction: highly detailed hand-rendered technical illustration combining opaque gouache, transparent watercolor washes, graphite, and colored pencil on warm ivory paper; the compositional clarity of a contemporary landscape-architecture competition drawing with the tactile dignity of a 1930s civic conservation mural. Muted mineral palette of limestone cream, moss green, celadon, iron gray, rain blue, umber, and small accents of iris violet. Accurate plant forms, believable hydrology, nuanced weathering, crisp construction details, restrained human-scale realism, quiet and reassuring mood. Landscape composition at a 3:2 ratio, with the cemetery scene occupying the upper two-thirds and the sectional ground detail integrated naturally across the lower foreground. Standalone illustration only: no title, labels, legends, numbers, logos, borders, presentation panels, interface elements, or mockup context.",
"width": 1248,
"height": 832,
"settings": {
"enhancePrompt": True,
"thinkingLevel": "medium"
}
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "5db4d439-0dfd-4d12-939f-2c515d9ba157",
"model": "sourceful:riverflow-2.5@pro",
"positivePrompt": "Create a finished landscape-architecture visualization for a municipal planning presentation about flood adaptation at a historic coastal cemetery. Show one coherent oblique cutaway view across a gently sloping cemetery immediately after rain. The clear subject is a discreet new stormwater landscape woven respectfully among weathered nineteenth-century limestone headstones, mature live oaks, and low meadow grass. A raised permeable gravel path curves through the middle ground, crossing a shallow planted bioswale filled with blue flag iris, soft rush, sedges, and swamp milkweed. Small stone check dams slow the remaining rainwater, while a recessed rain garden collects runoff near the downhill boundary. Keep all interventions understated, dignified, realistic, and visibly accessible without disturbing graves.\n\nAlong the lower foreground edge, reveal a precise sectional cutaway through the ground: permeable path layers, compacted stone base, clean gravel drainage trench, perforated pipe, geotextile, undisturbed soil horizons, carefully preserved tree roots, and a pale blue-gray water table below. Make the relationship between the visible landscape and concealed drainage construction immediately understandable without labels. Include a modest wrought-iron perimeter fence and glimpses of tidal marsh beyond the cemetery, establishing why flood resilience is needed. No workers, machinery, excavated graves, dramatic damage, or funerary activity.\n\nLighting is calm silver-gold late afternoon after a storm, with breaks in the cloud cover, soft directional sunlight on wet stone, restrained reflections in shallow water, and humid coastal atmosphere. Art direction: highly detailed hand-rendered technical illustration combining opaque gouache, transparent watercolor washes, graphite, and colored pencil on warm ivory paper; the compositional clarity of a contemporary landscape-architecture competition drawing with the tactile dignity of a 1930s civic conservation mural. Muted mineral palette of limestone cream, moss green, celadon, iron gray, rain blue, umber, and small accents of iris violet. Accurate plant forms, believable hydrology, nuanced weathering, crisp construction details, restrained human-scale realism, quiet and reassuring mood. Landscape composition at a 3:2 ratio, with the cemetery scene occupying the upper two-thirds and the sectional ground detail integrated naturally across the lower foreground. Standalone illustration only: no title, labels, legends, numbers, logos, borders, presentation panels, interface elements, or mockup context.",
"width": 1248,
"height": 832,
"settings": {
"enhancePrompt": true,
"thinkingLevel": "medium"
}
}
]'runware run sourceful:riverflow-2.5@pro \
positivePrompt="Create a finished landscape-architecture visualization for a municipal planning presentation about flood adaptation at a historic coastal cemetery. Show one coherent oblique cutaway view across a gently sloping cemetery immediately after rain. The clear subject is a discreet new stormwater landscape woven respectfully among weathered nineteenth-century limestone headstones, mature live oaks, and low meadow grass. A raised permeable gravel path curves through the middle ground, crossing a shallow planted bioswale filled with blue flag iris, soft rush, sedges, and swamp milkweed. Small stone check dams slow the remaining rainwater, while a recessed rain garden collects runoff near the downhill boundary. Keep all interventions understated, dignified, realistic, and visibly accessible without disturbing graves.
Along the lower foreground edge, reveal a precise sectional cutaway through the ground: permeable path layers, compacted stone base, clean gravel drainage trench, perforated pipe, geotextile, undisturbed soil horizons, carefully preserved tree roots, and a pale blue-gray water table below. Make the relationship between the visible landscape and concealed drainage construction immediately understandable without labels. Include a modest wrought-iron perimeter fence and glimpses of tidal marsh beyond the cemetery, establishing why flood resilience is needed. No workers, machinery, excavated graves, dramatic damage, or funerary activity.
Lighting is calm silver-gold late afternoon after a storm, with breaks in the cloud cover, soft directional sunlight on wet stone, restrained reflections in shallow water, and humid coastal atmosphere. Art direction: highly detailed hand-rendered technical illustration combining opaque gouache, transparent watercolor washes, graphite, and colored pencil on warm ivory paper; the compositional clarity of a contemporary landscape-architecture competition drawing with the tactile dignity of a 1930s civic conservation mural. Muted mineral palette of limestone cream, moss green, celadon, iron gray, rain blue, umber, and small accents of iris violet. Accurate plant forms, believable hydrology, nuanced weathering, crisp construction details, restrained human-scale realism, quiet and reassuring mood. Landscape composition at a 3:2 ratio, with the cemetery scene occupying the upper two-thirds and the sectional ground detail integrated naturally across the lower foreground. Standalone illustration only: no title, labels, legends, numbers, logos, borders, presentation panels, interface elements, or mockup context." \
width=1248 \
height=832 \
settings.enhancePrompt=true \
settings.thinkingLevel=medium{
"taskType": "imageInference",
"taskUUID": "5db4d439-0dfd-4d12-939f-2c515d9ba157",
"model": "sourceful:riverflow-2.5@pro",
"positivePrompt": "Create a finished landscape-architecture visualization for a municipal planning presentation about flood adaptation at a historic coastal cemetery. Show one coherent oblique cutaway view across a gently sloping cemetery immediately after rain. The clear subject is a discreet new stormwater landscape woven respectfully among weathered nineteenth-century limestone headstones, mature live oaks, and low meadow grass. A raised permeable gravel path curves through the middle ground, crossing a shallow planted bioswale filled with blue flag iris, soft rush, sedges, and swamp milkweed. Small stone check dams slow the remaining rainwater, while a recessed rain garden collects runoff near the downhill boundary. Keep all interventions understated, dignified, realistic, and visibly accessible without disturbing graves.\n\nAlong the lower foreground edge, reveal a precise sectional cutaway through the ground: permeable path layers, compacted stone base, clean gravel drainage trench, perforated pipe, geotextile, undisturbed soil horizons, carefully preserved tree roots, and a pale blue-gray water table below. Make the relationship between the visible landscape and concealed drainage construction immediately understandable without labels. Include a modest wrought-iron perimeter fence and glimpses of tidal marsh beyond the cemetery, establishing why flood resilience is needed. No workers, machinery, excavated graves, dramatic damage, or funerary activity.\n\nLighting is calm silver-gold late afternoon after a storm, with breaks in the cloud cover, soft directional sunlight on wet stone, restrained reflections in shallow water, and humid coastal atmosphere. Art direction: highly detailed hand-rendered technical illustration combining opaque gouache, transparent watercolor washes, graphite, and colored pencil on warm ivory paper; the compositional clarity of a contemporary landscape-architecture competition drawing with the tactile dignity of a 1930s civic conservation mural. Muted mineral palette of limestone cream, moss green, celadon, iron gray, rain blue, umber, and small accents of iris violet. Accurate plant forms, believable hydrology, nuanced weathering, crisp construction details, restrained human-scale realism, quiet and reassuring mood. Landscape composition at a 3:2 ratio, with the cemetery scene occupying the upper two-thirds and the sectional ground detail integrated naturally across the lower foreground. Standalone illustration only: no title, labels, legends, numbers, logos, borders, presentation panels, interface elements, or mockup context.",
"width": 1248,
"height": 832,
"settings": {
"enhancePrompt": true,
"thinkingLevel": "medium"
}
}Response
{
"taskType": "imageInference",
"taskUUID": "5db4d439-0dfd-4d12-939f-2c515d9ba157",
"imageUUID": "4a7b79a7-4eb1-4b15-9069-f32db55b149f",
"imageURL": "https://im.runware.ai/image/os/a02d21/ws/3/ii/4a7b79a7-4eb1-4b15-9069-f32db55b149f.jpg",
"seed": 1659845525,
"cost": 0.179383
}API Options
Platform-level options for task execution and delivery.
taskType
stringrequiredvalue: imageInferenceIdentifier for the type of task being performed.
taskUUID
stringrequiredUUID v4UUID v4 identifier for tracking tasks and matching async responses. Must be unique per task.
outputType
stringdefault: URLImage output type.
Allowed values3 values
outputFormat
stringrequired*default: JPGSpecifies 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: Output that needs transparency must use a format with an alpha channel:PNG,WEBP.JPGdoes not support transparency.Allowed values3 values
outputQuality
integermin: 20max: 99default: 95Compression quality of the output. Higher values preserve quality but increase file size.
webhookURL
stringuriWebhook URL that receives JSON responses 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 more1 resource
- WebhooksPLATFORM
- Webhooks
deliveryMethod
stringdefault: syncDetermines how the API delivers task results.
Allowed values2 values
- Returns results directly in the API response. Over HTTP, a task still running after 120 seconds continues as an async task and comes back with status 'processing'. Poll for its results using getResponse.
- Returns an immediate acknowledgment with the task UUID. Poll for results using getResponse.
Learn more1 resource
- Task PollingPLATFORM
uploadEndpoint
stringuriSpecifies 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
objectContent safety checking configuration for image generation.
Properties2 properties
safety»checkContentcheckContent
booleanEnable or disable content safety checking. Increases total generation time and adds a small charge on top of the generation cost.
safety»blockContentblockContent
booleanContent blocking before generation. Moderates the request's text and input images, and rejects the request when they are flagged, so nothing is generated or charged. Input videos, audio and documents are not moderated. Adds a short delay before generation starts.
ttl
integermin: 60Time-to-live (TTL) in seconds for generated content. Only applies when
outputTypeisURL.
includeCost
booleanInclude task cost in the response.
numberResults
integermin: 1max: 20default: 1Number 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 stringsmin items: 1max items: 102 limitsList of reference images (UUID, URL, Data URI, or Base64).
inputs»fontsfonts
array of objectsmax items: 2Font references containing a font URL and the text to render.
Core Parameters
Primary parameters that define the task output.
model
stringrequiredvalue: sourceful:riverflow-2.5@proSend
autoinstead of an AIR identifier to have the model router choose the model for this task. The rest of the request is unchanged, every value you send is kept, and only the parameters you leave out are filled in. See Model Router.
positivePrompt
stringrequiredmin: 2max: 24000Text prompt describing elements to include in the generated output.
Learn more1 resource
- PromptsLEARN
- Prompts
width
integerpaired with heightWidth of the generated media in pixels.
Learn more2 resources
height
integerpaired with widthHeight of the generated media in pixels.
Learn more2 resources
resolution
stringdefault: 1KResolution preset for the output. When used with input media, automatically matches the aspect ratio from the input.
Allowed values3 values
Settings
Technical parameters to fine-tune the inference process. These must be nested inside the settings object.
settings object.settings»backgroundColorbackgroundColor
stringHex color composited when backgroundMode is solid.
settings»backgroundModebackgroundMode
stringdefault: originalBackground handling mode for the final output.
Allowed values3 values
- Keep the original background.
- Remove the background for a transparent result.
- Replace the background with a solid color.
settings»enhancePromptenhancePrompt
booleanEnhance the prompt with use-case context before generation.
settings»scoringPromptscoringPrompt
stringmin: 1Free-text quality rubric used when scoring candidate outputs.
settings»scoringRubricscoringRubric
array of objectsmin items: 1max items: 8Controlled scoring dimensions that replace the default sub-score dimensions for the requested flow.
Properties6 properties
settings»scoringRubric»keykey
stringrequiredUnique machine-readable dimension key.
settings»scoringRubric»labellabel
stringrequiredmin: 1max: 80Short human-readable dimension label.
settings»scoringRubric»descriptiondescription
stringrequiredmin: 1max: 1000Judging criteria for this score dimension.
settings»scoringRubric»weightweight
floatrequiredScoring weight. Normalized internally, so weights need not sum to 1.
settings»scoringRubric»passingScorepassingScore
floatmin: 0max: 1Minimum score this dimension must reach.
settings»scoringRubric»scoreGuidancescoreGuidance
array of objectsmax items: 5Scoring anchors that define what the normalized scale means.
Properties2 properties
settings»scoringRubric»scoreGuidance»scorescore
floatrequiredmin: 0max: 1Normalized score anchor.
settings»scoringRubric»scoreGuidance»descriptiondescription
stringrequiredmin: 1max: 500What this score anchor means for the judge.
settings»thinkingLevelthinkingLevel
stringdefault: mediumControls the depth of internal reasoning the model performs before generating a response.
Allowed values4 values
Features
Standalone addons and post-processing features.
advancedFeatures»watermarkwatermark
objectConfiguration object for adding watermarks to generated images. Watermarks can be applied using either text or image content with customizable positioning and appearance. You must provide either
textorimagecontent for the watermark, but not both."advancedFeatures": { "watermark": { "text": "© 2025 Company", "displayPosition": "bottom-right", "opacity": 0.6, "fontColor": "#ffffff", "bgColor": "#000000" } }"advancedFeatures": { "watermark": { "image": "c64351d5-4c59-42f7-95e1-eace013eddab", "displayPosition": "top-left", "opacity": 0.6 } }"advancedFeatures": { "watermark": { "text": "PREVIEW", "tiled": true, "opacity": 0.4, "fontColor": "#cccccc" } }Properties6 properties
advancedFeatures»watermark»texttext
stringmin: 2max: 32Watermark text.
advancedFeatures»watermark»imageimage
stringWatermark image (UUID, URL, Data URI, or Base64).
advancedFeatures»watermark»displayPositiondisplayPosition
stringWatermark position.
Allowed values10 values
advancedFeatures»watermark»opacityopacity
floatmin: 0.1max: 1step: 0.01Watermark opacity.
advancedFeatures»watermark»fontColorfontColor
stringText color in hex format.
advancedFeatures»watermark»bgColorbgColor
stringBackground color in hex format.
