Explore

Official models

Official models are always on, maintained, and have predictable pricing.

View all official models
nano-banana-2-lite

google / nano-banana-2-lite

Google's fastest image generation model — the lightweight, low-cost version of Nano Banana 2, for rapid creation and editing

18.7K runs
Official
qwen3-7-plus

qwen / qwen3-7-plus

Qwen3.7-Plus is Alibaba's cost-effective multimodal model with vision-language understanding, a 1 million token context window, and strong agentic coding and tool use.

2.3K runs
Official

bytedance / seedance-2.0-mini

A lower-cost variant of Seedance 2.0 for high-volume video generation with multimodal inputs and native audio.

9K runs
Official

alibaba / happyhorse-1.1

Alibaba's Happy Horse 1.1 generates videos from text, animates a single image, or builds a video from multiple reference images. Supports 720p and 1080p, 3-15 second durations, and five aspect ratios.

4.3K runs
Official
riverflow-v2.5-pro

sourceful / riverflow-v2.5-pro

Top-quality agentic image model with multi-step reasoning, candidate scoring, and adjustable thinking effort

819 runs
Official
riverflow-v2.5-fast

sourceful / riverflow-v2.5-fast

Speed-optimized variant of Riverflow 2.5 for production and latency-sensitive workflows

966 runs
Official
ray-3.2

luma / ray-3.2

Luma's reasoning video model. Generates cinematic 5s or 10s video from text or images, with native HDR and EXR export for professional production pipelines.

1.9K runs
Official
claude-fable-5

anthropic / claude-fable-5

Claude Fable 5 from Anthropic: the next generation of intelligence for the hardest knowledge work and coding problems.

3.3K runs
Official
ideogram-v4-quality

ideogram-ai / ideogram-v4-quality

The highest quality Ideogram v4 model. v4 creates images with stunning realism, creative designs, and consistent styles

12.9K runs
Official
ideogram-v4-balanced

ideogram-ai / ideogram-v4-balanced

Balance speed, quality and cost. Ideogram v4 creates images with stunning realism, creative designs, and consistent styles

5.1K runs
Official

runwayml / aleph-2

Edit one frame to update an entire video. Aleph 2.0 is Runway's in-context video editor: longer clips (up to 30s), multi-shot edits, and image-level precision via keyframe references.

1.2K runs
Official

xai / grok-imagine-video-1.5

Image-to-video with synchronized audio using xAI's Grok Imagine Video 1.5 preview model

109.8K runs
Official
krea-2-large

krea / krea-2-large

Krea's flagship foundation image model. Larger and more flexible than Krea 2 Medium, with particular strength in photorealism and expressive artistic styles.

2.4K runs
Official
krea-2-medium

krea / krea-2-medium

Foundation image model from Krea, tuned for expressive illustration, anime, and painterly styles. Fast and consistent across artistic directions.

13.8K runs
Official
claude-sonnet-4.6

anthropic / claude-sonnet-4.6

Claude Sonnet 4.6 from Anthropic: a full upgrade to coding, computer use, long-context reasoning, agent planning, knowledge work, and design, with a 1 million token context window in beta.

22.3K runs
Official

bytedance / video-upscaler

Upscale and enhance video up to 4K at 60fps, with scene-aware presets for AI-generated content, short dramas, UGC, and film restoration.

6.5K runs
Official
gemini-3.5-flash

google / gemini-3.5-flash

Google's fast multimodal model with frontier reasoning across agents, coding, and long-context tasks

150.4K runs
Official
avatar-v

heygen / avatar-v

Create realistic talking avatar videos from text with HeyGen's Avatar V engine — the newest, highest-quality avatar engine with cross-reference-driven animation.

251 runs
Official
granite-vision-4.1-4b

ibm-granite / granite-vision-4.1-4b

Granite Vision 4.1 4B is a vision-language model (VLM) that delivers frontier-level performance on structured document extraction tasks — chart extraction, table extraction, and semantic key-value pair extraction — in a compact 4B parameter footprint

14.9K runs
Official

prunaai / p-video-animate

p-video-animate animates a reference image with the motion and audio of a source video. Optimized for speed and cost — 5.24s per 1s of video.

6.7K runs
Official

I want to…

View all collections

OCR to extract text from images

Use AI For Optical Character Recognition (OCR) to extract text from images via API

Create realistic face swaps

Replace faces across images with natural-looking results.

Vision models

Chat with images — visual Q&A, analysis, and reasoning via API

Caption Images

Use AI to generate captions and descriptions from images with an API

Create 3D content

Generate 3D objects, meshes, and textures from text or images with an API

Official models

Official models are always on, predictably priced, and have a stable API.

Large Language Models (LLMs)

Explore Large Language Models (LLMs) for chat, generation & NLP tasks via API

Try AI models for free

Try AI Models for free: video generation, image generation, upscaling, and photo restoration

Object detection and segmentation

Use AI object detection and segmentation models to distinguish objects in images & videos

Qwen-Image fine-tunes

Browse the diverse range of qwen-image fine-tunes the community has custom-trained on Replicate.

Latest models

Run AI
with an API .

Run and fine-tune models. Deploy custom models. All with one line of code.

Get started for free
                            
                              
                                import
                              
                               
                              
                                Replicate
                              
                               
                              
                                from
                              
                               
                            
                          
"replicate"
                            
                              ;
                            
                          
                          
                            
                              const
                            
                             replicate = 
                            
                              new
                            
                             
                            
                              Replicate
                            
                            ({
                          
                        
                          
                              
                            
                              auth
                            
                            : process.
                            
                              env
                            
                            .
                            
                              REPLICATE_API_TOKEN
                            
                          
                        
                          
                            })
                          
                        
                            
                              
                                const
                              
                               model = 
                            
                          
"

                        
                          
                            
                              const
                            
                             input = {
                          
                        
                            
                                
                              
                                prompt
                              
                              : 
                            
                          
"a

                        
                          
                            };
                          
                        
                          
                            
                              const
                            
                             [output] = 
                            
                              await
                            
                             replicate.
                            
                              run
                            
                            (model, { input });
                          
                        
                          
                            
                              console
                            
                            .
                            
                              log
                            
                            (output);
                          
                        
Generated image: a poolside patio at sunset with vintage lounge chairs

A poolside patio at sunset with vintage lounge chairs.

black-forest-labs/flux-2-pro
Generated image: a soft armchair shaped like a peeled banana

A soft armchair shaped like a peeled banana.

google/nano-banana-pro
Generated image: a woman relaxing in a French bookstore

A woman relaxing in a french bookstore.

bytedance/seedream-4
Generated image: a futuristic robot looking into the distance

A futuristic robot looking into the distance.

black-forest-labs/flux-pro
Generated image: an abstract painting of a sunrise

An abstract painting of a sunrise.

black-forest-labs/flux-pro

With Replicate you can

Thousands of models contributed by our community

All the latest models are on Replicate. They’re not just demos — they all actually work and have production-ready APIs.

AI shouldn’t be locked up inside academic papers and demos. Make it real by pushing it to Replicate.

How it works

You can get started with any model with just one line of code. But as you do more complex things, you can fine-tune models or deploy your own custom code.

Run models

Our community has already published thousands of models that are ready to use in production. You can run these with one line of code.

                                  
                                    
                                      import
                                    
                                     replicate
                                  
                                

                                  
                                    output = replicate.run(
                                  
                                
                                  
                                      
                                    
                                      "black-forest-labs/flux-dev"
                                    
                                    ,
                                  
                                
                                  
                                      
                                    
                                      input
                                    
                                    ={
                                  
                                
                                  
                                        
                                    
                                      "aspect_ratio"
                                    
                                    : 
                                    
                                      "1:1"
                                    
                                    ,
                                  
                                
                                  
                                        
                                    
                                      "num_outputs"
                                    
                                    : 
                                    
                                      1
                                    
                                    ,
                                  
                                
                                  
                                        
                                    
                                      "output_format"
                                    
                                    : 
                                    
                                      "jpg"
                                    
                                    ,
                                  
                                
                                  
                                        
                                    
                                      "output_quality"
                                    
                                    : 
                                    
                                      80
                                    
                                    ,
                                  
                                
                                  
                                        
                                    
                                      "prompt"
                                    
                                    : 
                                    
                                      "An astronaut riding a rainbow unicorn, cinematic, dramatic"
                                    
                                    ,
                                  
                                
                                  
                                      }
                                  
                                
                                  
                                    )
                                  
                                

                                  
                                    
                                      print
                                    
                                    (output)
                                  
                                

Fine-tune models with your own data

You can improve models with your own data to create new models that are better suited to specific tasks.

Image models like SDXL can generate images of a particular person, object, or style.

Train a model:

                                    
                                      training = replicate.trainings.create(
                                    
                                  
                                    
                                        destination=
                                      
                                        "mattrothenberg/drone-art"
                                      
                                    
                                  
                                    
                                        version=
                                      
                                        "ostris/flux-dev-lora-trainer:e440909d3512c31646ee2e0c7d6f6f4923224863a6a10c494606e79fb5844497"
                                      
                                      ,
                                    
                                  
                                    
                                        
                                      
                                        input
                                      
                                      ={
                                    
                                  
                                    
                                          
                                      
                                        "steps"
                                      
                                      : 
                                      
                                        1000
                                      
                                      ,
                                    
                                  
                                      
                                            
                                        
                                          "input_images"
                                        
                                        : 
                                      
                                    
https://example.com/images.zip
                                      
                                        ,
                                      
                                    
                                    
                                          
                                      
                                        "trigger_word"
                                      
                                      : 
                                      
                                        "TOK"
                                      
                                      ,
                                    
                                  
                                    
                                        },
                                    
                                  
                                    
                                      )
                                    
                                  

This will result in a new model:

drone-art
mattrothenberg / drone-art

Fantastical images of drones on land and in the sky

0 runs

drone-art

mattrothenberg / drone-art

Fantastical images of drones on land and in the sky

0 runs

Then, you can run it with one line of code:

                                    
                                      output = replicate.run(
                                    
                                  
                                    
                                        
                                      
                                        "mattrothenberg/drone-art:abcde1234..."
                                      
                                      ,
                                    
                                  
                                    
                                        
                                      
                                        input
                                      
                                      ={
                                      
                                        "prompt"
                                      
                                      : 
                                      
                                        "a photo of TOK forming a rainbow in the sky"
                                      
                                      }),
                                    
                                  
                                    
                                      )
                                    
                                  

Deploy custom models

You aren’t limited to the models on Replicate: you can deploy your own custom models using Cog , our open-source tool for packaging machine learning models.

Cog takes care of generating an API server and deploying it on a big cluster in the cloud. We scale up and down to handle demand, and you only pay for the compute that you use.

First, define the environment your model runs in with cog.yaml:

                                        
                                          
                                            build:
                                          
                                        
                                      
                                        
                                            
                                          
                                            gpu:
                                          
                                           
                                          
                                            true
                                          
                                        
                                      
                                        
                                            
                                          
                                            system_packages:
                                          
                                        
                                      
                                        
                                              
                                          
                                            -
                                          
                                           
                                          
                                            "libgl1-mesa-glx"
                                          
                                        
                                      
                                        
                                              
                                          
                                            -
                                          
                                           
                                          
                                            "libglib2.0-0"
                                          
                                        
                                      
                                        
                                            
                                          
                                            python_version:
                                          
                                           
                                          
                                            "3.10"
                                          
                                        
                                      
                                        
                                            
                                          
                                            python_packages:
                                          
                                        
                                      
                                        
                                              
                                          
                                            -
                                          
                                           
                                          
                                            "torch==1.13.1"
                                          
                                        
                                      
                                        
                                          
                                            predict:
                                          
                                           
                                          
                                            "predict.py:Predictor"
                                          
                                        
                                      

Next, define how predictions are run on your model with predict.py:

                                        
                                          
                                            from
                                          
                                           cog 
                                          
                                            import
                                          
                                           BasePredictor, Input, Path
                                        
                                      
                                        
                                          
                                            import
                                          
                                           torch
                                        
                                      

                                        
                                          
                                            class
                                          
                                           
                                          
                                            Predictor
                                          
                                          (
                                          
                                            BasePredictor
                                          
                                          ):
                                        
                                      
                                        
                                            
                                          
                                            def
                                          
                                           
                                          
                                            setup
                                          
                                          (
                                          
                                            self
                                          
                                          ):
                                        
                                      
                                        
                                                
                                          
                                            """Load the model into memory to make running multiple predictions efficient"""
                                          
                                        
                                      
                                        
                                                
                                          
                                            self
                                          
                                          .model = torch.load(
                                          
                                            "./weights.pth"
                                          
                                          )
                                        
                                      

                                        
                                            
                                          
                                            # The arguments and types the model takes as input
                                          
                                        
                                      
                                        
                                            
                                          
                                            def
                                          
                                           
                                          
                                            predict
                                          
                                          (
                                          
                                            self,
                                          
                                        
                                      
                                        
                                                  image: Path = Input(description=
                                          
                                            "Grayscale input image"
                                          
                                          )
                                        
                                      
                                        
                                            ) -> Path:
                                        
                                      
                                        
                                                
                                          
                                            """Run a single prediction on the model"""
                                          
                                        
                                      
                                        
                                                processed_image = preprocess(image)
                                        
                                      
                                        
                                                output = 
                                          
                                            self
                                          
                                          .model(processed_image)
                                        
                                      
                                        
                                                
                                          
                                            return
                                          
                                           postprocess(output)
                                        
                                      

Scale on Replicate

Thousands of businesses are building their AI products on Replicate. Your team can deploy an AI feature in a day and scale to millions of users, without having to be machine learning experts.

Learn more about our enterprise plans

Automatic scale

If you get a ton of traffic, Replicate scales up automatically to handle the demand. If you don't get any traffic, we scale down to zero and don't charge you a thing.

  • CPU $0.000100/sec
  • Nvidia T4 GPU $0.000225/sec
  • Nvidia L40S GPU $0.000975/sec
  • 2x Nvidia L40S GPU $0.001950/sec
  • Nvidia A100 (80GB) GPU $0.001400/sec
  • 8x Nvidia A100 (80GB) GPU $0.011200/sec
  • Learn more about pricing

Pay for what you use

Replicate only bills you for how long your code is running. You don't pay for expensive GPUs when you're not using them.

Abstract square illustration

Forget about infrastructure

Deploying machine learning models at scale is hard. If you've tried, you know. API servers, weird dependencies, enormous model weights, CUDA, GPUs, batching.

06:58 GMT07:38 GMT08:18 GMT08:58 GMT014274154

Prediction throughput (requests per second)

Logging & monitoring

Metrics let you keep an eye on how your models are performing, and logs let you zoom in on particular predictions to debug how your model is behaving.