Flux is a state-of-the-art text-to-image model from Replicate that generates high-quality images from text descriptions.

Replicate requires paid credits to use their API. Please refer to their pricing here.

Overview

Create Account

Sign up for a Replicate account

Get API Key

Generate your Replicate API key

Copy into Create

Add your API key to Create’s secrets

Account Creation

1

Visit Replicate Website

Go to replicate.com and click “Sign Up”

2

Choose Signup Method

  • Sign up with email/password
  • Or continue with GitHub authentication

Generate API Key

1

Access API Keys

  1. Go to your Replicate dashboard
  2. Click on your profile and select “API Tokens”
2

Create New Key

  1. Click “New Token”
  2. Name your token (e.g., “Create Integration”)
  3. Copy your API token

Add to Create Project

1

Add the integration

  1. In your Create project, type / in the chat
  2. Select “Replicate Flux” from the menu
2

Add your API key

  1. Paste your API key into the “REPLICATE_API_KEY” field

Need a new key? Generate one in your Replicate dashboard.

3

Start generating

You can now use prompts with the integration to generate images.

Example prompts:

  • Generate a landscape painting using /ReplicateFlux
  • Create product mockups with /ReplicateFlux
  • Build an AI art gallery using /ReplicateFlux

Each generation uses API credits - implement caching for frequently used prompts.

Example prompt for optimization:

When using /ReplicateFlux, cache the generated images in my database

Your Replicate Flux integration is ready! Use /ReplicateFlux in chat to generate images.