Skip to main content
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 Anything

Add your API key to Anything’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., “Anything Integration”)
  3. Copy your API token

Add to Anything project

1

Add the integration

  1. In your Anything 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. If your app generates the same images often, ask the agent to save them locally so it doesn’t re-fetch every time.
Example prompt for optimization:
When using /ReplicateFlux, save the generated images so my app doesn't have to fetch it again
Your Replicate Flux integration is ready! Use /ReplicateFlux in chat to generate images.