# Old2New Recipe Transformer

> Old2New Recipe Transformer is a paid API for AI agents from old2new.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-10).

Transforms traditional comfort food recipes into healthier versions optimized for specific diets like GLP-1, keto, mediterranean, vegan, or custom health goals

## Facts

- Endpoint: POST https://old2new.app/api/agent/transform?utm_source=zero.xyz
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/old2new-recipe-transformer-dcf68804
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jHmu5b4pnZ56ic_ZDIw5C

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability old2new-recipe-transformer-dcf68804 -d '<json body>'
```

Example prompt: Can you transform my classic beef lasagna recipe — ground beef, ricotta, mozzarella, marinara, and noodles — into a vegan version that works for a GLP-1 diet? The original recipe serves 6.

## When to prefer this

Choose this endpoint when a user wants to adapt a specific existing recipe to fit dietary needs or health goals, rather than generating a recipe from scratch. It is best when the user has a beloved or familiar recipe they want to keep eating in a healthier form. Especially suited for GLP-1, keto, mediterranean, vegan, and dairy-free transformations. Prefer over generic LLM recipe prompts when you want a structured, consistent output including a categorized shopping list and substitution notes.

## Known failure modes

- Missing required 'recipe' field returns validation error
- Ambiguous or very short recipe text may produce generic or inaccurate transformations
- Conflicting dietary requirements (e.g. keto + vegan) may produce limited substitution options
- Very long or complex multi-part recipes may be partially transformed
- Payment failure (x402 protocol) prevents request from being processed

## How this service works

Transform your old comfort recipes into healthy new favorites. Recipe transformation for GLP-1, keto, mediterranean and all healthy diets.

## Output

Returns a JSON object containing: the transformed recipe with name, ingredient list (with substitution notes and amounts), step-by-step instructions, an organized shopping list (categorized by dairy, produce, protein, pantry, other), applied dietary restrictions, a request ID, and a disclaimer that nutrition values are estimates and not medical advice.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "recipe"
 ],
 "properties": {
  "diets": {
   "type": "array",
   "description": "Diet preferences, e.g. 'vegan', 'keto'. Provide diets and/or healthGoal."
  },
  "recipe": {
   "type": "string",
   "description": "The original recipe text to transform."
  },
  "healthGoal": {
   "type": "string",
   "description": "Free-text health goal or dietary preference. Provide diets and/or healthGoal."
  },
  "restrictions": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": true,
 "model": "claude-sonnet-4-6",
 "result": {
  "shoppingList": {
   "dairy": [],
   "other": [
    "cashew ricotta"
   ],
   "pantry": [
    "marinara sauce",
    "lasagna noodles"
   ],
   "produce": [
    "onion",
    "garlic"
   ],
   "protein": [
    "green lentils"
   ]
  },
  "transformedRecipe": {
   "name": "Lentil Lasagna",
   "ingredients": [
    {
     "item": "cooked green lentils",
     "note": "swapped for ground beef",
     "amount": "2 cups"
    }
   ],
   "instructions": [
    "Brown the lentils with onion and garlic.",
    "Layer noodles with sauce and cashew ricotta.",
    "Bake at 375F for 45 minutes."
   ]
  }
 },
 "requestId": "5b1e3e0a-2f3a-4c9e-8e2a-8e6f1a2b3c4d",
 "disclaimer": "Nutrition values are estimates, not measurements. This is not medical advice.",
 "schemaVersion": "1.0",
 "restrictionsApplied": {
  "vegan": true,
  "dairyFree": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/old2new-recipe-transformer-dcf68804/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from old2new.app](https://www.zero.xyz/host/old2new.app/llms.txt)
