anthropic/claude-3.5-sonnet 🖼️📝🔢 → 📝

⭐ Official ▶️ 533.6K runs 📅 Feb 2025 ⚙️ Cog 0.14.0-alpha1 ⚖️ License
image-analysis image-captioning image-to-text text-generation visual-understanding

About

Anthropic's most intelligent language model to date, with a 200K token context window and image understanding (claude-3-5-sonnet-20241022)

Example Output

Prompt:

"Give me a recipe for pancakes that could feed all of California."

Output

Here's a humorous yet enormous pancake recipe scaled up for California's population (approximately 40 million people):

"California-Sized Pancake Recipe"

Ingredients:

  • 20 million cups all-purpose flour (about 2,500 tons)
  • 40 million eggs (need about 3.3 million chickens working overtime)
  • 15 million cups milk (about 240,000 cows' daily production)
  • 10 million tablespoons baking powder
  • 5 million teaspoons salt
  • 5 million cups sugar
  • 5 million cups melted butter

You'll need:

  • The entire Central Valley as a mixing bowl
  • Several helicopters with giant whisks
  • A tectonic plate-sized griddle
  • The Pacific Ocean converted to maple syrup

Instructions:

  1. Mix dry ingredients in Death Valley
  2. Combine wet ingredients in Lake Tahoe
  3. Pour batter using the California Aqueduct
  4. Cook on the San Andreas Fault line for even heat distribution
  5. Flip using coordinated effort from entire US Air Force

Warning: May cause minor earthquakes when flipping. Not responsible for syrup-related flooding.

Serves: 40 million Californians, plus leftovers for Nevada

Note: This is obviously a silly recipe - it would be logistically impossible to make and cook a pancake this large! 😄

Performance Metrics

5.98s Prediction Time
6.00s Total Time
All Input Parameters
{
  "prompt": "Give me a recipe for pancakes that could feed all of California.",
  "max_tokens": 8192,
  "system_prompt": "",
  "max_image_resolution": 0.5
}
Input Parameters
image Type: string
Optional input image. Images are priced as (width px * height px)/750 input tokens
prompt (required) Type: string
Input prompt
max_tokens Type: integerDefault: 8192Range: 1 - 8192
Maximum number of output tokens
system_prompt Type: stringDefault:
System prompt
max_image_resolution Type: numberDefault: 0.5Range: 0.001 - 2
Maximum image resolution in megapixels. Scales down image before sending it to Claude, to save time and money.
Output Schema

Output

Type: arrayItems Type: string

Example Execution Logs
Running prediction...
Version Details
Version ID
b7bb89fa62c9ba7da1ed4b70a91b4381ca2e48a5771ec86254d8c13509c31820
Version Created
February 12, 2025
Run on Replicate →