Atelier201 websiteJoin the waitlist
Media, import and exportImportar uma foto ou um vídeo de banco de imagens
media

Importar uma foto ou um vídeo de banco de imagens

Copia um resultado da pesquisa, identificado pelo provedor e pelo id, para a mídia do site (imagens com até 2400 px de largura e vídeos de até full HD), incluindo o texto alternativo e os créditos. Grátis.

POST/v1/sites/{site_id}/media/stock

Requer sites:write. Não custa créditos.

Envie o provider e o id do resultado da busca. O arquivo é copiado para a mídia do site: fotos com até 2400 pixels de largura e vídeos em até Full HD e com no máximo 20 MB. Se o nome já estiver em uso, será acrescentado um sufixo, para que a importação nunca substitua um arquivo existente no site.

A mídia mantém seu credit (“Photo by Jane Doe on Pixabay”) e sua source_url. O Pixabay não exige créditos no site, mas é uma boa prática incluir uma linha curta de créditos.

Imagens de banco ajudam a criar um clima. Elas nunca substituem os produtos, as pessoas ou as instalações reais da empresa.

Conta para o limite de 30 buscas e importações por minuto por workspace, compartilhado com a busca.

Autorizações

Authorizationbearerin headerrequired

Parâmetros de caminho

site_idstringrequired

O id do site ou seu slug (o endereço antes de .atelier201.page).

Corpo

application/jsonrequired
providerenum<string>requiredone of: pixabay
idstringrequiredlength: 1–20 chars

O id do resultado, obtido na pesquisa.

kindenum<string>one of: image, video
filenamestringlength: 1–100 chars

Um nome sem extensão; por padrão, usa a descrição.

altstringlength: ≤ 300 chars

O que a imagem mostra, para quem não consegue vê-la. Por padrão, usa a descrição da biblioteca.

Resposta

application/json

Importar uma foto ou um vídeo de banco de imagens

dataRecord<string, object>required
request_idstringrequired

Use these docs with your AI tools

An AI agent can read this documentation directly. You do not need an account or an API key. Everything here is public and read-only.

Query these docs via MCP

Recommended

Add this server to Claude, Claude Code, Cursor, Mistral, or any tool that supports MCP. Your agent can then search Atelier201 Docs documentation and read it in full, instead of answering from memory.

https://atelier201.com/docs/mcp
  • searchFind the passages that answer a question.
  • fetchRead one page in full, as Markdown.
  • list_pagesSee every page in this documentation.

Query these docs over HTTP

The same tools also work as plain web requests. Use this for scripts, or for any tool that does not support MCP. There is one endpoint per tool. Arguments go in the query string, and the answer comes back as JSON.

https://atelier201.com/docs/api/docs/search?query=custom+domain

Read the OpenAPI description. It is built from the same definitions as the tools, so it always matches what the endpoints do.

Read these docs as Markdown

Add .md to any page URL to get its Markdown source. You can also send the headerAccept: text/markdown to the page URL itself.

To read the whole documentation in one file, open llms-full.txt. For a short index of every page, open llms.txt.