# Scale a recipe to more servings and convert to cups and ounces

**Use case:** 

Scale a recipe from a video caption to the number of servings you need and get every amount in US cups, tablespoons, ounces and pounds.

## Input

```json
{
  "items": [
    "Classic banana bread (makes 1 loaf, 8 slices): 3 ripe bananas mashed, 75g melted butter, 150g brown sugar, 1 egg, 1 tsp vanilla extract, 1 tsp baking soda, a pinch of salt, 190g plain flour. Mix the bananas and butter, stir in sugar, egg and vanilla, then baking soda and salt, then flour. Bake in a lined loaf tin at 175C for 55-60 minutes."
  ],
  "youtubeUrls": [],
  "mediaFileUrls": [],
  "servings": 16,
  "unitSystem": "imperial",
  "outputLanguage": "en",
  "includeNutrition": true,
  "maxRecipes": 100,
  "maxMediaMinutes": 20
}
```

## Output

```json
{
  "inputIndex": {
    "label": "Item",
    "format": "integer"
  },
  "title": {
    "label": "Recipe",
    "format": "string"
  },
  "cuisine": {
    "label": "Cuisine",
    "format": "string"
  },
  "servings": {
    "label": "Servings",
    "format": "integer"
  },
  "totalMinutes": {
    "label": "Minutes",
    "format": "integer"
  },
  "ingredients": {
    "label": "Ingredients",
    "format": "array"
  },
  "confidence": {
    "label": "Confidence",
    "format": "number"
  },
  "sourceUrl": {
    "label": "Source",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Video to Recipe API: YouTube Recipe Extractor & Nutrition Actor is ready to run with the inputs already set for "Scale a recipe to more servings and convert to cups and ounces". [Sign up or log in](https://console.apify.com/create-task-from-example/AL0V7MeafXvK0RFXQ) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Scale a recipe to more servings and convert to cups and ounces" task

The Video to Recipe API: YouTube Recipe Extractor & Nutrition Actor will start running based on the input automatically. You can also change all the input fields, like captions and mixed items, youtube video links, and more, to match your specific use case.

### 3. Receive the "Scale a recipe to more servings and convert to cups and ounces" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as item, recipe, cuisine, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Scale a recipe to more servings and convert to cups and ounces" task via API](https://apify.com/messnomore/video-to-recipe.md).

## About this Actor

This example demonstrates how to use [Video to Recipe API: YouTube Recipe Extractor & Nutrition](https://apify.com/messnomore/video-to-recipe.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/messnomore/video-to-recipe.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/messnomore/video-to-recipe.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
