Адрес и версия API
Адресhttps://formatry.cc
OpenAPI/api/v1/openapi.json
Версия2026-06-18
АвторизацияAuthorization: Bearer <api-key> или X-API-Key: <api-key>
API-справочник
Загрузите материалы, запустите генерацию серверным ключом и скачайте готовые файлы.
Адресhttps://formatry.cc
OpenAPI/api/v1/openapi.json
Версия2026-06-18
АвторизацияAuthorization: Bearer <api-key> или X-API-Key: <api-key>
СоздатьСоздайте серверный ключ с нужными правами из кабинета или через управленческий ключ.
ХранитьПередавайте секрет через менеджер паролей или серверное хранилище секретов; не сохраняйте его в репозитории и не вставляйте в клиентский код.
ОграничитьВыдайте ключу только права на баланс, загрузки, задания, готовые файлы и проверку истории.
МенятьОтзывайте старый ключ и создавайте новый при смене владельца интеграции.
Swagger и REST
Swagger/OpenAPI URL
https://formatry.cc/api/v1/openapi.json
Импортируйте URL в Swagger UI, Postman, Insomnia или генератор кода OpenAPI.FORMATRY_CC_ORIGIN=https://formatry.cc
FORMATRY_CC_API_KEY=<секретный ключ, показанный один раз при создании>
curl "$FORMATRY_CC_ORIGIN/api/v1/balance" \
-H "Authorization: Bearer $FORMATRY_CC_API_KEY"/api/v1/codex/trial-keyRetired anonymous trial-key endpoint.
Схема/api/v1/ads/accountsList saved advertising accounts in the authenticated workspace (private beta).
Ключ доступа/api/v1/social/projects/{projectId}/draftsRead project planning drafts for a civil-date range.
Ключ доступа/api/v1/social/projects/{projectId}/draftsCreate a planning draft (Stage only).
Ключ доступа/api/v1/social/projects/{projectId}/drafts/{draftId}Read a complete planning draft (Stage only).
Ключ доступа/api/v1/social/projects/{projectId}/drafts/{draftId}Save a draft at its expected revision (Stage only).
Ключ доступа/api/v1/social/projects/{projectId}/drafts/{draftId}Delete a draft at its expected revision (Stage only).
Ключ доступа/api/v1/social/projects/{projectId}/deliveriesRead the shared project calendar.
Ключ доступа/api/v1/social/projects/{projectId}/deliveriesSchedule a draft for a connected Telegram destination.
Ключ доступа/api/v1/social/projects/{projectId}/deliveries/{intentId}/cancelRequest cancellation at an expected revision.
Ключ доступа/api/v1/social/projects/{projectId}/deliveries/{intentId}/retryExplicitly retry a confirmed non-delivery.
Ключ доступа/api/v1/social/projects/{projectId}/history/importImport non-dispatchable source history.
Ключ доступа/api/v1/social/accountsList connected social accounts for the authenticated workspace.
Ключ доступа/api/v1/balanceRead the workspace credit balance for the API key.
Ключ доступа/api/v1/usageList recent workspace usage ledger events.
Ключ доступа/api/v1/api-keysList workspace API keys without exposing secrets.
Ключ доступа/api/v1/api-keysCreate a workspace API key and return its secret once.
Ключ доступа/api/v1/api-keys/{apiKeyId}Revoke one workspace API key.
Ключ доступа/api/v1/assetsList workspace assets visible to new generation jobs.
Ключ доступа/api/v1/assets/{assetId}Read one workspace asset by id.
Ключ доступа/api/v1/assets/{assetId}Soft-delete one workspace asset.
Ключ доступа/api/v1/assets/uploadsCreate an upload intent for a workspace asset.
Ключ доступа/api/v1/assets/uploads/transferPrepare a checksum-bound native asset upload.
Ключ доступа/api/v1/assets/uploads/{uploadId}/completeVerify a previously uploaded object and mark the asset ready.
Ключ доступа/api/v1/assets/uploads/{uploadId}/objectUpload bytes for a pending workspace asset.
Ключ доступа/api/v1/assets/upload-objectUpload bytes through the proxy URL returned by an upload intent.
Ключ доступа/api/v1/previews/quotaRead the effective protected-preview allowance and policy.
Ключ доступа/api/v1/previewsCreate one bounded protected PNG preview.
Ключ доступа/api/v1/studio/projects/startCreate a named project and its first blank raster creative.
Ключ доступа/api/v1/studio/projectsList Studio projects for the authenticated workspace.
Ключ доступа/api/v1/studio/projects/{projectId}Read one Studio project and its workspace-owned creatives.
Ключ доступа/api/v1/studio/projects/{projectId}/creativesAdd an independent blank raster creative to an active project.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}Read one exact Studio creative revision.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/variantsList a creative's primary and named variants.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/variants/{variantId}Read one named creative variant.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenesList the Bloop scenes in a project.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}Read a saved Bloop scene and media metadata.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}Save one Bloop scene revision.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}Rename a saved Bloop scene.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}Delete a saved Bloop scene.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}/save-intentRegister an exact Bloop scene save before sending it.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}/save-resolutionResolve an uncertain Bloop scene save.
Ключ доступа/api/v1/studio/projects/{projectId}/bloop-scenes/{sceneId}/media/{mediaId}Read one saved scene media file.
Ключ доступа/api/v1/bloop/uploadsStart or recover a scene media upload.
Ключ доступа/api/v1/bloop/uploads/{stageId}/parts/{partNumber}Authorize a checksum-bound upload part.
Ключ доступа/api/v1/bloop/uploads/{stageId}/completeComplete and verify a staged media upload.
Ключ доступа/api/v1/bloop/uploads/{stageId}Cancel an unpublished scene media upload.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/agent-instanceCreate an ephemeral identity for this API agent's action visualizations.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/commandsApply one atomic typed command to an exact creative revision.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/previewCreate a protected preview from one exact saved Studio revision.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/animation-previewCreate a protected moving WebP from the saved Animation revision.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotesQuote a paid export from one exact saved Studio revision.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotes/{quoteId}Read the status of an export confirmation.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotes/{quoteId}/confirmConfirm one server-issued saved-revision export quote.
Ключ доступа/api/v1/studio/projects/{projectId}/creatives/{creativeId}/export-quotes/{quoteId}/confirm-includedConfirm a quoted Images or Animation export against existing account funds.
Ключ доступа/api/v1/studio/presetsRead the effective Studio preset library without changing it.
Ключ доступа/api/v1/studio/brand-kitRead the workspace Brand Kit.
Ключ доступа/api/v1/jobsList workspace-owned generation jobs.
Ключ доступа/api/v1/jobsCreate a paid pack request and reserve workspace balance once.
Ключ доступа/api/v1/jobs/{jobId}Read workspace-owned generation job status.
Ключ доступа/api/v1/jobs/{jobId}/cancelCancel a queued generation job and release reserved balance.
Ключ доступа/api/v1/artifacts/{artifactId}Read the artifact family for a workspace-owned generation job.
Ключ доступа/api/v1/artifacts/{artifactId}/downloadGet short-lived signed artifact download information.
Ключ доступа/api/v1/artifacts/{artifactId}/files/{fileId}/transferPrepare a native download capability for one ready artifact file.
Ключ доступа/api/v1/artifacts/{artifactId}/files/{fileId}/downloadDownload one ready artifact file through scoped API authentication.
Ключ доступа