civai-co Publisher Project Assets API
The publisher-project-assets API from civai-co — 6 operation(s) for publisher-project-assets.
The publisher-project-assets API from civai-co — 6 operation(s) for publisher-project-assets.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/civai-co:civai-co-publisher-project-assets-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Civai Co Publisher Project Assets API
version: 1.0.0
description: 'Operations tagged publisher-project-assets across 2 of this provider''s published API definitions: audience-resolver-api.civai.co-openapi.json, audience-resolver-api.civai.co-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: publisher-project-assets
paths:
/api/publisher/projects/{project_id}/assets/videos/upload:
post:
tags:
- publisher-project-assets
summary: Publisher Upload Video
operationId: publisher_upload_video_api_publisher_projects__project_id__assets_videos_upload_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
requestBody:
required: true
content:
multipart/form-data:
schema:
$ref: '#/components/schemas/fastapi___compat__v2__Body_publisher_upload_video_api_publisher_projects__project_id__assets_videos_upload_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/publisher/projects/{project_id}/assets/generate:
post:
tags:
- publisher-project-assets
summary: Publisher Generate Assets
operationId: publisher_generate_assets_api_publisher_projects__project_id__assets_generate_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateAssetsRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/publisher/projects/{project_id}/assets/images/generate:
post:
tags:
- publisher-project-assets
summary: Publisher Generate Image
operationId: publisher_generate_image_api_publisher_projects__project_id__assets_images_generate_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateImageRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/publisher/projects/{project_id}/assets/videos/generate:
post:
tags:
- publisher-project-assets
summary: Publisher Generate Video
operationId: publisher_generate_video_api_publisher_projects__project_id__assets_videos_generate_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateVideoRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/publisher/projects/{project_id}/assets/images/{asset_id}/regenerate:
post:
tags:
- publisher-project-assets
summary: Publisher Regenerate Image
operationId: publisher_regenerate_image_api_publisher_projects__project_id__assets_images__asset_id__regenerate_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RegenerateImageRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/publisher/projects/{project_id}/assets/images/{asset_id}/layerize:
post:
tags:
- publisher-project-assets
summary: Publisher Layerize Image
operationId: publisher_layerize_image_api_publisher_projects__project_id__assets_images__asset_id__layerize_post
parameters:
- name: project_id
in: path
required: true
schema:
type: string
title: Project Id
- name: asset_id
in: path
required: true
schema:
type: string
title: Asset Id
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
fastapi___compat__v2__Body_publisher_upload_video_api_publisher_projects__project_id__assets_videos_upload_post:
properties:
file:
type: string
format: binary
title: File
caption:
anyOf:
- type: string
- type: 'null'
title: Caption
prompt:
anyOf:
- type: string
- type: 'null'
title: Prompt
type: object
required:
- file
title: Body_publisher_upload_video_api_publisher_projects__project_id__assets_videos_upload_post
GenerateAssetsRequest:
properties:
count:
type: integer
title: Count
default: 5
include_images:
type: boolean
title: Include Images
default: true
include_videos:
type: boolean
title: Include Videos
default: true
video_duration:
anyOf:
- type: string
- type: 'null'
title: Video Duration
default: 8s
creative_input:
anyOf:
- type: string
- type: 'null'
title: Creative Input
guidelines:
anyOf:
- type: string
- type: 'null'
title: Guidelines
link_stories:
anyOf:
- type: boolean
- type: 'null'
title: Link Stories
default: false
type: object
title: GenerateAssetsRequest
description: Request model for generating assets.
GenerateVideoRequest:
properties:
asset_id:
type: string
title: Asset Id
model:
anyOf:
- type: string
- type: 'null'
title: Model
size:
anyOf:
- type: string
- type: 'null'
title: Size
additional_instructions:
anyOf:
- type: string
- type: 'null'
title: Additional Instructions
seconds:
anyOf:
- type: integer
- type: 'null'
title: Seconds
type: object
required:
- asset_id
title: GenerateVideoRequest
description: Request model for generating a video.
RegenerateImageRequest:
properties:
custom_instructions:
type: string
title: Custom Instructions
type: object
required:
- custom_instructions
title: RegenerateImageRequest
description: Request model for regenerating an image prompt.
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
GenerateImageRequest:
properties:
asset_id:
type: string
title: Asset Id
additional_instructions:
anyOf:
- type: string
- type: 'null'
title: Additional Instructions
model:
anyOf:
- type: string
- type: 'null'
title: Model
size:
anyOf:
- type: string
- type: 'null'
title: Size
graphic_type:
anyOf:
- type: string
- type: 'null'
title: Graphic Type
heading_text:
anyOf:
- type: string
- type: 'null'
title: Heading Text
sub_heading_text:
anyOf:
- type: string
- type: 'null'
title: Sub Heading Text
logo_url:
anyOf:
- type: string
- type: 'null'
title: Logo Url
hero_image_url:
anyOf:
- type: string
- type: 'null'
title: Hero Image Url
blog_title:
anyOf:
- type: string
- type: 'null'
title: Blog Title
category:
anyOf:
- type: string
- type: 'null'
title: Category
brand_name:
anyOf:
- type: string
- type: 'null'
title: Brand Name
primary_color:
anyOf:
- type: string
- type: 'null'
title: Primary Color
secondary_color:
anyOf:
- type: string
- type: 'null'
title: Secondary Color
description:
anyOf:
- type: string
- type: 'null'
title: Description
target_audience:
anyOf:
- type: string
- type: 'null'
title: Target Audience
image_dimension:
anyOf:
- type: string
- type: 'null'
title: Image Dimension
font:
anyOf:
- type: string
- type: 'null'
title: Font
user_prompt:
anyOf:
- type: string
- type: 'null'
title: User Prompt
transparent_background:
anyOf:
- type: boolean
- type: 'null'
title: Transparent Background
type: object
required:
- asset_id
title: GenerateImageRequest
description: Request model for generating an image.
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
x-refined-from:
- audience-resolver-api.civai.co-openapi.json
- audience-resolver-api.civai.co-openapi.json