
pipelines-beta / weather-report
- Public
- 8 runs
Run pipelines-beta/weather-report with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
Input schema
The fields you can use to run this model with an API. If you don't give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|
{
"type": "object",
"title": "Input",
"required": [],
"properties": {
"mood": {
"type": "string",
"title": "mood",
"default": "cheerful",
"x-order": 1,
"description": "Mood"
},
"seed": {
"type": "integer",
"title": "seed",
"default": 0,
"x-order": 2,
"description": "A seed"
},
"location": {
"type": "string",
"title": "location",
"default": "San Francisco, CA, USA",
"x-order": 0,
"description": "Location"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{
"type": "string",
"title": "Output"
}
Example API response
View prediction
('Video: '
'https://replicate.delivery/xezq/hs3e67AFbUQFIS96oxwvJWOm8ALK9pw4n45clXNZ3QOeNNzUA/output.mp4\n'
'Image: '
'https://replicate.delivery/xezq/H3F9lVdfsHxCAy2xUNLeSsnXSe9B9byaLeHSYVx4HwftqpZmC/out-0.webp\n'
'Audio: '
'https://replicate.delivery/czjl/3tE4rjdfa0SGY6qTjhYf3u47jB81iOzOuvy6resQjHkoaampA/output.wav\n'
"Slow: {'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"
'\n'
"Good 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'
'\n'
'Time: 2023-10-26 10:28:36 PDT')