---
title: "save_asset tool call"
method: POST
path: "/api/tools/save_asset"
tags: ["Tools"]
---

# save_asset tool call

`POST /api/tools/save_asset`

## Request

- Base URL: `https://studiomcphub.com`
- URL: `https://studiomcphub.com/api/tools/save_asset`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Stripe-Payment-Intent`

Cost: 1 GCX ($0.10). Payment: GCX credits (Bearer token) or Stripe (X-Stripe-Payment-Intent header).

## Request body

- object
  - `content_type` string: MIME type
  - `data` string, required: Base64-encoded data (image, JSON, etc.) — max 10MB
  - `key` string, required: Unique name for this asset (e.g., 'my-landscape', 'pipeline-001')
  - `metadata` object: Optional metadata JSON to store alongside
  - `wallet` string, required: Your EVM wallet address (0x...)

## Response `200`

Tool result

## Other responses

- `402`: Payment required — returns GCX credit info and Stripe checkout link

---

[API](https://skmtc.dev/studiomcphub/apis/studiomcphub-api.md) · [All operations](https://skmtc.dev/studiomcphub/apis/studiomcphub-api/llms.txt) · [OpenAPI document](https://skmtc.dev/studiomcphub/apis/studiomcphub-api/revisions/15995bc5ee2e?raw)
