Run this model in Node.js with one line of code:
npm install replicate
REPLICATE_API_TOKEN
export REPLICATE_API_TOKEN=<paste-your-token-here>
Find your API token in your account settings.
import Replicate from "replicate"; const replicate = new Replicate({ auth: process.env.REPLICATE_API_TOKEN, });
Run andreasjansson/fn-upcase using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const output = await replicate.run( "andreasjansson/fn-upcase:9acb2b2058d1a5a41bdb2675c05d1953e633f8ec2eac972f92abaf49809ad58f", { input: { prompt: "hello" } } ); console.log(output);
To learn more, take a look at the guide on getting started with Node.js.
pip install replicate
import replicate
output = replicate.run( "andreasjansson/fn-upcase:9acb2b2058d1a5a41bdb2675c05d1953e633f8ec2eac972f92abaf49809ad58f", input={ "prompt": "hello" } ) print(output)
To learn more, take a look at the guide on getting started with Python.
curl -s -X POST \ -H "Authorization: Bearer $REPLICATE_API_TOKEN" \ -H "Content-Type: application/json" \ -H "Prefer: wait" \ -d $'{ "version": "andreasjansson/fn-upcase:9acb2b2058d1a5a41bdb2675c05d1953e633f8ec2eac972f92abaf49809ad58f", "input": { "prompt": "hello" } }' \ https://api.replicate.com/v1/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{ "completed_at": "2025-01-16T15:16:16.569088Z", "created_at": "2025-01-16T15:15:46.835000Z", "data_removed": false, "error": null, "id": "cavq5pjc2drg80cmdyqth29vvg", "input": { "prompt": "hello" }, "logs": null, "metrics": { "predict_time": 0.000036746, "total_time": 29.734088 }, "output": "HELLO", "started_at": "2025-01-16T15:16:16.569051Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/cavq5pjc2drg80cmdyqth29vvg", "cancel": "https://api.replicate.com/v1/predictions/cavq5pjc2drg80cmdyqth29vvg/cancel" }, "version": "9acb2b2058d1a5a41bdb2675c05d1953e633f8ec2eac972f92abaf49809ad58f" }
This model runs on CPU hardware. We don't yet have enough runs of this model to provide performance information.
This model doesn't have a readme.
Age prediction using CLIP
Simple example of a Cog model that produces Markdown output
Music inpainting of melody and chords
Implicit neural differentiable FM synthesizer
An open-source model for program synthesis. Competitive with OpenAI Codex.
Monkey Island database for Retrieval-augmented Diffusion model
Generate music based on the Monkey Island theme using the FIGARO model
(development branch) Inpainting for Stable Diffusion
Animate Stable Diffusion by interpolating between two prompts
Return CLIP features for the clip-vit-large-patch14 model
Inpainting using RunwayML's stable-diffusion-inpainting checkpoint
Stable Diffusion fined-tuned on frames from Monkey Island 1 and 2
Bach chorale generation and harmonization
Turn two prompts into one image
Create tileable animations with seamless transitions
Answers questions about images
The DeepFloyd IF model has been initially released as a non-commercial research-only model. Please make sure you read and abide to the license before using it.
Generate fixed-bpm loops from text prompts
Monster Labs' control_v1p_sd15_qrcode_monster ControlNet on top of SD 1.5
This model is cold. You'll get a fast response if the model is warm and already running, and a slower response if the model is cold and starting up.
This model runs on CPU hardware which costs $0.0001 per second. View more.