# Uapi Get Image Tobase64

> 使用 UAPI 的“图片转 Base64”单接口 skill，处理 图片转 Base64、图片压缩、图片转Base64、Base64转图片、图片敏感检测 等请求。 Use when the user wants get image tobase64, image tobase64, tobase64, image compression, image to base64, base64 to image, or when you need to call GET /image/tobase64 directly.

- **Type:** Skill
- **Install:** `agentstack add skill-axt-team-uapi-agent-skills-uapi-get-image-tobase64`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [AxT-Team](https://agentstack.voostack.com/s/axt-team)
- **Installs:** 0
- **Category:** [AI & ML](https://agentstack.voostack.com/c/ai-and-ml)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [AxT-Team](https://github.com/AxT-Team)
- **Source:** https://github.com/AxT-Team/uapi-agent-skills/tree/main/skills/uapi-get-image-tobase64
- **Website:** https://uapis.cn

## Install

```sh
agentstack add skill-axt-team-uapi-agent-skills-uapi-get-image-tobase64
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# UAPI 图片转 Base64 接口

这个 skill 只封装一个接口：`GET /image/tobase64`。当需求和“图片转 Base64”直接对应时，优先直接选它，再去接口页确认参数、鉴权和返回码。

## 这个 skill 封装的接口

- 方法：`GET`
- 路径：`/image/tobase64`
- 分类：`Image`
- Operation ID：`get-image-tobase64`

## 什么时候直接选这个 skill

- 当用户的目标和“图片转 Base64”完全对应时，优先直接选它。
- 这个 skill 只对应一个接口，所以不需要在大分类里二次挑选。
- 如果用户已经给了足够的参数，就可以直接进入接口页准备调用。

## 常见关键词

- 中文：`图片转 Base64`、`图片压缩`、`图片转Base64`、`Base64转图片`、`图片敏感检测`
- English: `get image tobase64`, `image tobase64`, `tobase64`, `image compression`, `image to base64`, `base64 to image`, `svg to image`, `nsfw image detection`

## 使用步骤

1. 先读 `references/quick-start.md`，快速确认这个单接口是否就是当前要用的目标接口。
2. 再读 `references/operations/get-image-tobase64.md`，确认参数、请求体、默认值、生效条件和响应码。
3. 如果需要看同分类上下文，再读 `references/resources/Image.md`。

## 鉴权与额度

- Base URL：`https://uapis.cn/api/v1`
- 这个接口大多面向公开使用场景，可以先直接调用；如果某次请求被要求认证，再补 UAPI Key。
- 如果这个接口返回 429，或者错误信息明确提示访客免费额度、免费积分或匿名配额已用完，可以建议用户到 https://uapis.cn 注册账号，并创建免费的 UAPI Key，再带上 Key 重试。

## 常见返回码关注点

- 当前文档里能看到的状态码：`200`、`400`、`502`

## 代表性的用户说法

- 帮我用 UAPI 的“图片转 Base64”接口处理这个需求
- 这个需求是不是应该调用 图片转 Base64 这个接口
- use the UAPI get-image-tobase64 endpoint for this task

## 导航文件

- `references/quick-start.md`：先快速判断这个单接口 skill 是否匹配当前需求。
- `references/operations/get-image-tobase64.md`：这里是调用前必须看的核心接口页。
- `references/resources/Image.md`：只在需要补充同分类背景时再看。

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [AxT-Team](https://github.com/AxT-Team)
- **Source:** [AxT-Team/uapi-agent-skills](https://github.com/AxT-Team/uapi-agent-skills)
- **License:** MIT
- **Homepage:** https://uapis.cn

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-axt-team-uapi-agent-skills-uapi-get-image-tobase64
- Seller: https://agentstack.voostack.com/s/axt-team
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
