Riverflow 2 Fast Preview

AI Image Editing Model

$$ · 3¢

Sourceful's lightweight Riverflow 2 variant for fast workflows and lower cost, combining unified text-to-image generation with precise editing capabilities

riverflow-2-fast API OpenAI-compatible

Integrate Riverflow 2 Fast Preview into your application via the Lumenfall API to perform high-speed text-to-image generation and real-time image editing through a single OpenAI-compatible endpoint.

Base URL
https://api.lumenfall.ai/openai/v1
Model
riverflow-2-fast-preview

Text to Image Generate

Create images from text descriptions

curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/generations \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "riverflow-2-fast-preview",
    "prompt": "A serene mountain landscape at sunset",
    "size": "1024x1024"
  }'
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }

Image Editing Edit

Transform existing images with text instructions

curl -X POST \
  https://api.lumenfall.ai/openai/v1/images/edits \
  -H "Authorization: Bearer $LUMENFALL_API_KEY" \
  -F "model=riverflow-2-fast-preview" \
  -F "[email protected]" \
  -F "prompt=Add a starry night sky to this image" \
  -F "size=1024x1024"
# Response:
# { "created": 1234567890, "data": [{ "url": "https://...", "revised_prompt": "..." }] }