CommunityHire an ExpertSign Up
IntegrationsReplicate integration
Integrations

Replicate integration

Generate AI images directly from your Softr workflows. The Replicate integration gives your no-code app access to a curated set of image-generation models — pick the one that fits your need, drop in a text prompt, and get back a finished image as part of any automation.

Overview

The Softr Replicate integration runs image-generation models hosted on Replicate from your workflows. Two actions ship today: Pruna via Replicate (a model selector covering several optimized variants like Z-Image Turbo, Flux Fast, P-Image, and SDXL Lightning) and Flux Schnell via Replicate (Black Forest Labs’ 4-step distilled image model). One Replicate API token covers them all, and the same token will cover any future Replicate actions you add.

Inside a Softr app, this means form submissions can produce hero images for membership cards, list rows can spawn personalized illustrations, AI assistants can generate visuals on demand, and onboarding flows can hand new users an avatar built from their bio. The action returns an image URL you can drop into a Files field, attach to an email, or hand off to any downstream workflow step.

Available Actions

Pruna via Replicate

Generate an image with one of Pruna AI’s optimized models — fast, production-ready, and tuned for quality at speed. Pick the model that matches your style preference; the rest of the inputs (prompt, aspect ratio, output format) stay the same regardless of which model you choose.

Flux Schnell via Replicate

Generate up to four images at a time with Black Forest Labs’ Flux Schnell — a 4-step distilled model designed for cinematic output in under three seconds. Pass an optional seed for reproducible results, or leave it empty to get fresh variations on every run.

Key Benefits

  • No-code image generation: Drop a prompt into a workflow step and get back a usable image URL — no API plumbing, no token juggling.
  • One credential, every model: A single Replicate API token works for every action under the Replicate provider, so adding new image actions later doesn’t mean reconnecting.
  • Reproducible when you need it: Pass an optional seed to regenerate the same image deterministically — useful for template previews and A/B tests.
  • Fast by default: Both actions ship with Replicate’s accelerated inference paths enabled, so most generations finish inside a few seconds.

Example Use Cases

Use CaseDescription
Personalized hero imagesWhen a user signs up, generate a custom banner from their bio and store the URL on their profile.
Per-record illustrationsFor every new record in a listing, generate a thumbnail from the record’s prompt or description.
Form-driven creative briefsTurn a form submission into four image variations Flux Schnell renders in parallel for review.
AI-assistant visualsLet a Softr AI assistant call the action mid-conversation when a user asks for a visual.
Marketing asset batchesLoop over a list of campaign briefs to produce a gallery of generated images for the marketing team.

How to Connect Softr with Replicate

  1. Open your Softr app and go to Workflows.
  2. Create a new workflow and add the Replicate → Pruna via Replicate or Replicate → Flux Schnell via Replicate action.
  3. Click Connect Replicate and paste your Replicate API token.
  4. To create a token, sign in to Replicate and generate a new token (must start with r8_). The same token works for every Replicate action, current and future.
  5. Choose a model (for the Pruna action) or accept the Flux Schnell defaults, write your prompt, and configure aspect ratio and output options.
  6. Save and activate your workflow.

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Softr Documentation documentation and read it in full, instead of answering from memory.

https://docs.softr.io/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://docs.softr.io/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.