Riverflow 2.5 Fast

Riverflow 2.5 Fast is the speed-focused variant in Sourceful's Riverflow 2.5 family. It supports both text-to-image and image-to-image workflows through the 2.5 generation endpoints, making it suitable for rapid creative iteration, packaging exploration, branded product visuals, and latency-sensitive production pipelines that still need strong visual control.

Complete technical specification for integration
Ready-to-use code snippets for common workflows
text-to-image
Underground Waste Network Explainer$0.0226~27s
Create a finished square editorial infographic for a municipal sustainability report explaining how pneumatic underground waste collection works. Use an axonometric cutaway illustration of a dense contemporary city block: apartments, a small grocery, trees, pedestrians and a cycle lane at street level; beneath the pavement, a clearly visible network of large steel vacuum pipes curves toward a compact collection terminal at the right edge. Show colorful refuse bags moving through the pipes with directional arrows. Inside the terminal, depict an air separator, compactor, sealed container and clean exhaust filter as a tidy mechanical cutaway. Build a clear left-to-right five-stage visual sequence with numbered coral circles and these exact short labels: “1 DROP”, “2 STORE”, “3 OPEN”, “4 TRANSPORT”, “5 COMPACT”. Add a strong headline at top: “WASTE MOVES UNDERGROUND”. Add a smaller subtitle: “A five-step pneumatic collection cycle”. Include three compact fact callouts along the bottom with simple icons and exact wording: “Fewer collection trucks”, “Sealed below street level”, “Sorted at the source”. Keep all lettering large, correctly spelled, horizontal and highly legible; do not add any other text. Art direction: sophisticated mid-century technical manual meets contemporary civic wayfinding, crisp vector-like geometry with subtly textured screen-printed ink, precise architectural cutaway, visually rich but uncluttered. Warm ivory background, deep navy structures and outlines, brick red and coral process markers, mustard yellow highlights, muted teal vegetation and pipes. Use consistent line weights, restrained shadows and small dotted airflow trails. Strong information hierarchy, generous margins, balanced square composition, no logos, no branding, no interface, no photorealism, no mockup.
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@fast',
positivePrompt: 'Create a finished square editorial infographic for a municipal sustainability report explaining how pneumatic underground waste collection works. Use an axonometric cutaway illustration of a dense contemporary city block: apartments, a small grocery, trees, pedestrians and a cycle lane at street level; beneath the pavement, a clearly visible network of large steel vacuum pipes curves toward a compact collection terminal at the right edge. Show colorful refuse bags moving through the pipes with directional arrows. Inside the terminal, depict an air separator, compactor, sealed container and clean exhaust filter as a tidy mechanical cutaway.\n\nBuild a clear left-to-right five-stage visual sequence with numbered coral circles and these exact short labels: “1 DROP”, “2 STORE”, “3 OPEN”, “4 TRANSPORT”, “5 COMPACT”. Add a strong headline at top: “WASTE MOVES UNDERGROUND”. Add a smaller subtitle: “A five-step pneumatic collection cycle”. Include three compact fact callouts along the bottom with simple icons and exact wording: “Fewer collection trucks”, “Sealed below street level”, “Sorted at the source”. Keep all lettering large, correctly spelled, horizontal and highly legible; do not add any other text.\n\nArt direction: sophisticated mid-century technical manual meets contemporary civic wayfinding, crisp vector-like geometry with subtly textured screen-printed ink, precise architectural cutaway, visually rich but uncluttered. Warm ivory background, deep navy structures and outlines, brick red and coral process markers, mustard yellow highlights, muted teal vegetation and pipes. Use consistent line weights, restrained shadows and small dotted airflow trails. Strong information hierarchy, generous margins, balanced square composition, no logos, no branding, no interface, no photorealism, no mockup.',
width: 1024,
height: 1024
})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@fast",
"positivePrompt": "Create a finished square editorial infographic for a municipal sustainability report explaining how pneumatic underground waste collection works. Use an axonometric cutaway illustration of a dense contemporary city block: apartments, a small grocery, trees, pedestrians and a cycle lane at street level; beneath the pavement, a clearly visible network of large steel vacuum pipes curves toward a compact collection terminal at the right edge. Show colorful refuse bags moving through the pipes with directional arrows. Inside the terminal, depict an air separator, compactor, sealed container and clean exhaust filter as a tidy mechanical cutaway.\n\nBuild a clear left-to-right five-stage visual sequence with numbered coral circles and these exact short labels: “1 DROP”, “2 STORE”, “3 OPEN”, “4 TRANSPORT”, “5 COMPACT”. Add a strong headline at top: “WASTE MOVES UNDERGROUND”. Add a smaller subtitle: “A five-step pneumatic collection cycle”. Include three compact fact callouts along the bottom with simple icons and exact wording: “Fewer collection trucks”, “Sealed below street level”, “Sorted at the source”. Keep all lettering large, correctly spelled, horizontal and highly legible; do not add any other text.\n\nArt direction: sophisticated mid-century technical manual meets contemporary civic wayfinding, crisp vector-like geometry with subtly textured screen-printed ink, precise architectural cutaway, visually rich but uncluttered. Warm ivory background, deep navy structures and outlines, brick red and coral process markers, mustard yellow highlights, muted teal vegetation and pipes. Use consistent line weights, restrained shadows and small dotted airflow trails. Strong information hierarchy, generous margins, balanced square composition, no logos, no branding, no interface, no photorealism, no mockup.",
"width": 1024,
"height": 1024
})
asyncio.run(main())curl https://api.runware.ai/v1 \
-H "Authorization: Bearer $RUNWARE_API_KEY" \
-H "Content-Type: application/json" \
-d '[
{
"taskType": "imageInference",
"taskUUID": "64036379-6176-4415-9b4f-65db30804bfd",
"model": "sourceful:riverflow-2.5@fast",
"positivePrompt": "Create a finished square editorial infographic for a municipal sustainability report explaining how pneumatic underground waste collection works. Use an axonometric cutaway illustration of a dense contemporary city block: apartments, a small grocery, trees, pedestrians and a cycle lane at street level; beneath the pavement, a clearly visible network of large steel vacuum pipes curves toward a compact collection terminal at the right edge. Show colorful refuse bags moving through the pipes with directional arrows. Inside the terminal, depict an air separator, compactor, sealed container and clean exhaust filter as a tidy mechanical cutaway.\n\nBuild a clear left-to-right five-stage visual sequence with numbered coral circles and these exact short labels: “1 DROP”, “2 STORE”, “3 OPEN”, “4 TRANSPORT”, “5 COMPACT”. Add a strong headline at top: “WASTE MOVES UNDERGROUND”. Add a smaller subtitle: “A five-step pneumatic collection cycle”. Include three compact fact callouts along the bottom with simple icons and exact wording: “Fewer collection trucks”, “Sealed below street level”, “Sorted at the source”. Keep all lettering large, correctly spelled, horizontal and highly legible; do not add any other text.\n\nArt direction: sophisticated mid-century technical manual meets contemporary civic wayfinding, crisp vector-like geometry with subtly textured screen-printed ink, precise architectural cutaway, visually rich but uncluttered. Warm ivory background, deep navy structures and outlines, brick red and coral process markers, mustard yellow highlights, muted teal vegetation and pipes. Use consistent line weights, restrained shadows and small dotted airflow trails. Strong information hierarchy, generous margins, balanced square composition, no logos, no branding, no interface, no photorealism, no mockup.",
"width": 1024,
"height": 1024
}
]'runware run sourceful:riverflow-2.5@fast \
positivePrompt="Create a finished square editorial infographic for a municipal sustainability report explaining how pneumatic underground waste collection works. Use an axonometric cutaway illustration of a dense contemporary city block: apartments, a small grocery, trees, pedestrians and a cycle lane at street level; beneath the pavement, a clearly visible network of large steel vacuum pipes curves toward a compact collection terminal at the right edge. Show colorful refuse bags moving through the pipes with directional arrows. Inside the terminal, depict an air separator, compactor, sealed container and clean exhaust filter as a tidy mechanical cutaway.
Build a clear left-to-right five-stage visual sequence with numbered coral circles and these exact short labels: “1 DROP”, “2 STORE”, “3 OPEN”, “4 TRANSPORT”, “5 COMPACT”. Add a strong headline at top: “WASTE MOVES UNDERGROUND”. Add a smaller subtitle: “A five-step pneumatic collection cycle”. Include three compact fact callouts along the bottom with simple icons and exact wording: “Fewer collection trucks”, “Sealed below street level”, “Sorted at the source”. Keep all lettering large, correctly spelled, horizontal and highly legible; do not add any other text.
Art direction: sophisticated mid-century technical manual meets contemporary civic wayfinding, crisp vector-like geometry with subtly textured screen-printed ink, precise architectural cutaway, visually rich but uncluttered. Warm ivory background, deep navy structures and outlines, brick red and coral process markers, mustard yellow highlights, muted teal vegetation and pipes. Use consistent line weights, restrained shadows and small dotted airflow trails. Strong information hierarchy, generous margins, balanced square composition, no logos, no branding, no interface, no photorealism, no mockup." \
width=1024 \
height=1024{
"taskType": "imageInference",
"taskUUID": "64036379-6176-4415-9b4f-65db30804bfd",
"model": "sourceful:riverflow-2.5@fast",
"positivePrompt": "Create a finished square editorial infographic for a municipal sustainability report explaining how pneumatic underground waste collection works. Use an axonometric cutaway illustration of a dense contemporary city block: apartments, a small grocery, trees, pedestrians and a cycle lane at street level; beneath the pavement, a clearly visible network of large steel vacuum pipes curves toward a compact collection terminal at the right edge. Show colorful refuse bags moving through the pipes with directional arrows. Inside the terminal, depict an air separator, compactor, sealed container and clean exhaust filter as a tidy mechanical cutaway.\n\nBuild a clear left-to-right five-stage visual sequence with numbered coral circles and these exact short labels: “1 DROP”, “2 STORE”, “3 OPEN”, “4 TRANSPORT”, “5 COMPACT”. Add a strong headline at top: “WASTE MOVES UNDERGROUND”. Add a smaller subtitle: “A five-step pneumatic collection cycle”. Include three compact fact callouts along the bottom with simple icons and exact wording: “Fewer collection trucks”, “Sealed below street level”, “Sorted at the source”. Keep all lettering large, correctly spelled, horizontal and highly legible; do not add any other text.\n\nArt direction: sophisticated mid-century technical manual meets contemporary civic wayfinding, crisp vector-like geometry with subtly textured screen-printed ink, precise architectural cutaway, visually rich but uncluttered. Warm ivory background, deep navy structures and outlines, brick red and coral process markers, mustard yellow highlights, muted teal vegetation and pipes. Use consistent line weights, restrained shadows and small dotted airflow trails. Strong information hierarchy, generous margins, balanced square composition, no logos, no branding, no interface, no photorealism, no mockup.",
"width": 1024,
"height": 1024
}Response
{
"taskType": "imageInference",
"taskUUID": "64036379-6176-4415-9b4f-65db30804bfd",
"imageUUID": "3046ba42-340b-46d1-bb8a-efd6b676a77a",
"imageURL": "https://im.runware.ai/image/os/a04d20/ws/3/ii/3046ba42-340b-46d1-bb8a-efd6b676a77a.jpg",
"seed": 1444039637,
"cost": 0.022638
}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: 42 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@fastSend
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 values2 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 values3 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.
