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
Choose Signup Method
- Sign up with email/password
- Or continue with GitHub authentication

Generate API Key
Access API Keys
- Go to your Replicate dashboard
- Click on your profile and select “API Tokens”

Create New Key
- Click “New Token”
- Name your token (e.g., “Anything Integration”)
- Copy your API token

Add to Anything project
Add the integration
- In your Anything project, type
/ in the chat
- Select “Replicate Flux” from the menu
Add your API key
- Paste your API key into the “REPLICATE_API_KEY” field
Need a new key? Generate one in your Replicate dashboard.
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.