Location
Default: "San Francisco, CA, USA"
Mood
Default: "cheerful"
A seed
Default: 0
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 pipelines-beta/weather-report using Replicate’s API. Check out the model's schema for an overview of inputs and outputs.
const input = { mood: "cheerful", seed: 0, location: "San Francisco, CA, USA" }; const output = await replicate.run("pipelines-beta/weather-report", { input }); 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( "pipelines-beta/weather-report", input={ "mood": "cheerful", "seed": 0, "location": "San Francisco, CA, USA" } ) 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 $'{ "input": { "mood": "cheerful", "seed": 0, "location": "San Francisco, CA, USA" } }' \ https://api.replicate.com/v1/models/pipelines-beta/weather-report/predictions
To learn more, take a look at Replicate’s HTTP API reference docs.
{ "completed_at": "2025-06-03T16:23:38.896443Z", "created_at": "2025-06-03T16:22:20.559000Z", "data_removed": false, "error": null, "id": "rqqghhymhxrme0cq6tcsp83dkm", "input": { "mood": "cheerful", "seed": 0, "location": "San Francisco, CA, USA" }, "logs": null, "metrics": { "predict_time": 61.990955772, "total_time": 78.337443 }, "output": "Video: https://replicate.delivery/xezq/hs3e67AFbUQFIS96oxwvJWOm8ALK9pw4n45clXNZ3QOeNNzUA/output.mp4\nImage: https://replicate.delivery/xezq/H3F9lVdfsHxCAy2xUNLeSsnXSe9B9byaLeHSYVx4HwftqpZmC/out-0.webp\nAudio: https://replicate.delivery/czjl/3tE4rjdfa0SGY6qTjhYf3u47jB81iOzOuvy6resQjHkoaampA/output.wav\nSlow: {'files': []}n\n{'latitude': 37.763283, 'longitude': -122.41286, 'generationtime_ms': 0.08654594421386719, 'utc_offset_seconds': 0, 'elevation': 18.0, 'current_units': {'time': 'iso8601', 'interval': 'seconds', 'temperature_2m': '°C', 'precipitation': 'mm', 'cloud_cover': '%', 'wind_speed_10m': 'km/h', 'precipitation_probability': '%', 'rain': 'mm', 'showers': 'mm'}, 'current': {'interval': 900, 'temperature_2m': 14.6, 'precipitation': 0.0, 'cloud_cover': 73, 'wind_speed_10m': 7.9, 'precipitation_probability': 0, 'rain': 0.0, 'showers': 0.0}}\n\nGood morning, San Francisco! It's a partly cloudy Thursday morning with temperatures at a comfortable 14.6°C. No rain in sight with 0% precipitation probability. Expect light winds around 8 km/h. Perfect weather for a morning coffee outdoors despite the 73% cloud cover!\n\nTime: 2023-10-26 10:28:36 PDT", "started_at": "2025-06-03T16:22:36.905487Z", "status": "succeeded", "urls": { "get": "https://api.replicate.com/v1/predictions/rqqghhymhxrme0cq6tcsp83dkm", "cancel": "https://api.replicate.com/v1/predictions/rqqghhymhxrme0cq6tcsp83dkm/cancel", "root": "https://api.replicate.com/v1/predictions/rqqghhymhxrme0cq6tcsp83dkm", "children": "https://api.replicate.com/v1/predictions/rqqghhymhxrme0cq6tcsp83dkm/children" }, "version": "hidden" }
This model doesn't have a readme.
Give the model an image and it will attempt to generate a copy using Claude and Flux dev
This model runs on CPU (Small).