> **Reading as an AI agent?** This is the Markdown version of https://docs.meshy.ai/api/v2, part of the Meshy API v2 docs.
>
> - v2 docs index: https://docs.meshy.ai/api/v2/llms.txt
> - All v2 pages in one file: https://docs.meshy.ai/api/v2/llms-full.txt
> - OpenAPI spec for v2: https://docs.meshy.ai/api/v2/openapi.yaml

---

# Meshy API v2 documentation

Generate and process 3D models, textures, animations, and images from your own code with Meshy API v2.

> **Note:** API v2 gives every task type one response shape, one set of task routes, and one error format. New to the API? Start with the [v2 Quickstart](https://docs.meshy.ai/api/v2/quick-start.md). Using v1 today? See [Migrate to API v2](/api/migrate-to-v2).

---

## Overview

The Meshy API is a REST API with predictable, resource-oriented URLs. It accepts JSON request bodies (`Content-Type: application/json`), returns JSON responses, and uses standard HTTP methods, status codes, and authentication. You create tasks with it and get their results in your own app.

Every endpoint is under this base URL:

**BASE URL**

```
https://api.meshy.ai
```

Every v2 endpoint is under `/openapi/v2/`, for example `https://api.meshy.ai/openapi/v2/text-to-3d`.

### How to use these docs

Each endpoint has its own page, and the sidebar lists the main pages. To find a page, search the docs or press `Ctrl+K` or `Cmd+K`.

### Get started

To make your first request, follow the [Quickstart](https://docs.meshy.ai/api/v2/quick-start.md). To try endpoints without writing code, track usage, and manage webhooks, use the [Developer Platform](/api/developer-platform).

---

## OpenAPI specification
Meshy publishes a machine-readable [OpenAPI 3.1](https://spec.openapis.org/oas/v3.1.0) spec of API v2. Use it to generate clients, import the API into your tools, or compare versions for changes. The spec comes in two formats:

- YAML: [`https://docs.meshy.ai/api/v2/openapi.yaml`](https://docs.meshy.ai/api/v2/openapi.yaml)
- JSON: [`https://docs.meshy.ai/api/v2/openapi.json`](https://docs.meshy.ai/api/v2/openapi.json)

---

## For AI agents
Coding agents can read the v2 docs as plain text:

- [`/api/v2/llms.txt`](https://docs.meshy.ai/api/v2/llms.txt): an index of every v2 page, with instructions for writing v2 code.
- [`/api/v2/llms-full.txt`](https://docs.meshy.ai/api/v2/llms-full.txt): every v2 page in one file.
- [`/api/v2/openapi.yaml`](https://docs.meshy.ai/api/v2/openapi.yaml) ([JSON](https://docs.meshy.ai/api/v2/openapi.json)): the OpenAPI spec for v2.
- Any v2 page as Markdown: add `.md` to its URL, for example [`/api/v2/tasks.md`](https://docs.meshy.ai/api/v2/tasks.md).

---

## Resources

For help with the API, see the following resources:

- [Help Center](https://help.meshy.ai/en/): how to use Meshy, and answers to common questions about the API and plugins.
- [Developer Platform](https://www.meshy.ai/developers): your API keys, usage, and webhooks.
- [Community](https://discord.com/invite/KgD5yVM9Y4): help from other users and developers.
- [Contact](mailto:support@meshy.ai): email your questions about the Meshy API and plugins.
