KDP Coloring Book Styles API
The Styles API from KDP Coloring Book — 6 operation(s) for styles.
The Styles API from KDP Coloring Book — 6 operation(s) for styles.
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/kdpcoloringbook-com:kdpcoloringbook-com-styles-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. 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: Book Generator Styles API
description: Backend API for the AI-powered coloring book generator.
version: 1.0.0
tags:
- name: Styles
paths:
/api/styles/list:
get:
summary: List Styles
operationId: list_styles_api_styles_list_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StyleListResponse'
security:
- HTTPBearer: []
tags:
- Styles
/api/styles/suggest:
post:
summary: Suggest Styles
operationId: suggest_styles_api_styles_suggest_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/StyleSuggestRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StyleSuggestResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Styles
/api/styles/improve:
post:
summary: Improve Single Style
operationId: improve_single_style_api_styles_improve_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ImproveStyleRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ImprovedStyleResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Styles
/api/styles/improve-batch:
post:
summary: Improve Styles Batch
operationId: improve_styles_batch_api_styles_improve_batch_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/ImproveBatchRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ImproveBatchResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Styles
/api/styles:
get:
summary: Get User Styles
operationId: get_user_styles_api_styles_get
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/UserStylesListResponse'
security:
- HTTPBearer: []
tags:
- Styles
post:
summary: Create Style
operationId: create_style_api_styles_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CreateStyleRequest'
required: true
responses:
'201':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StyleResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
tags:
- Styles
/api/styles/{style_id}:
put:
summary: Update Style
operationId: update_style_api_styles__style_id__put
security:
- HTTPBearer: []
parameters:
- name: style_id
in: path
required: true
schema:
type: string
title: Style Id
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/UpdateStyleRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/StyleResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Styles
delete:
summary: Delete Style
operationId: delete_style_api_styles__style_id__delete
security:
- HTTPBearer: []
parameters:
- name: style_id
in: path
required: true
schema:
type: string
title: Style Id
responses:
'204':
description: Successful Response
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Styles
components:
schemas:
StyleBase:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
style_name:
anyOf:
- type: string
- type: 'null'
title: Style Name
description: Friendly alias for 'name'.
description:
type: string
title: Description
sample_url:
anyOf:
- type: string
- type: 'null'
title: Sample Url
type: object
required:
- id
- name
- description
title: StyleBase
ImprovedStyleResponse:
properties:
original_style_id:
type: string
title: Original Style Id
improved_style_id:
type: string
title: Improved Style Id
improved_name:
type: string
title: Improved Name
style_name:
anyOf:
- type: string
- type: 'null'
title: Style Name
improved_description:
type: string
title: Improved Description
sample_url:
type: string
title: Sample Url
bw_image_prompt:
anyOf:
- type: string
- type: 'null'
title: Bw Image Prompt
type: object
required:
- original_style_id
- improved_style_id
- improved_name
- improved_description
- sample_url
title: ImprovedStyleResponse
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
ImproveBatchRequest:
properties:
styles:
items:
additionalProperties:
type: string
type: object
type: array
title: Styles
theme:
type: string
maxLength: 200
minLength: 1
title: Theme
type: object
required:
- styles
- theme
title: ImproveBatchRequest
StyleSuggestRequest:
properties:
theme:
type: string
maxLength: 200
minLength: 1
title: Theme
count:
type: integer
maximum: 8.0
minimum: 1.0
title: Count
default: 4
selected_style_ids:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Selected Style Ids
edited_descriptions:
anyOf:
- additionalProperties:
type: string
type: object
- type: 'null'
title: Edited Descriptions
type: object
required:
- theme
title: StyleSuggestRequest
CreateStyleRequest:
properties:
name:
type: string
maxLength: 200
minLength: 1
title: Name
description:
type: string
maxLength: 2000
minLength: 1
title: Description
type: object
required:
- name
- description
title: CreateStyleRequest
ImproveStyleRequest:
properties:
style_id:
type: string
title: Style Id
style_description:
type: string
maxLength: 2000
title: Style Description
theme:
type: string
maxLength: 200
minLength: 1
title: Theme
type: object
required:
- style_id
- style_description
- theme
title: ImproveStyleRequest
UpdateStyleRequest:
properties:
name:
anyOf:
- type: string
maxLength: 200
minLength: 1
- type: 'null'
title: Name
description:
anyOf:
- type: string
maxLength: 2000
minLength: 1
- type: 'null'
title: Description
type: object
title: UpdateStyleRequest
UserStylesListResponse:
properties:
styles:
items:
$ref: '#/components/schemas/StyleResponse'
type: array
title: Styles
type: object
required:
- styles
title: UserStylesListResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
StyleListResponse:
properties:
styles:
items:
$ref: '#/components/schemas/StyleBase'
type: array
title: Styles
type: object
required:
- styles
title: StyleListResponse
StyleResponse:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
style_name:
anyOf:
- type: string
- type: 'null'
title: Style Name
description:
type: string
title: Description
created_at:
type: string
title: Created At
updated_at:
type: string
title: Updated At
type: object
required:
- id
- name
- description
- created_at
- updated_at
title: StyleResponse
StyleSuggestResponse:
properties:
styles:
items:
$ref: '#/components/schemas/StyleSuggestion'
type: array
title: Styles
type: object
required:
- styles
title: StyleSuggestResponse
ImproveBatchResponse:
properties:
improved_styles:
items:
$ref: '#/components/schemas/ImprovedStyleResponse'
type: array
title: Improved Styles
type: object
required:
- improved_styles
title: ImproveBatchResponse
StyleSuggestion:
properties:
id:
type: string
title: Id
name:
type: string
title: Name
style_name:
anyOf:
- type: string
- type: 'null'
title: Style Name
description: Friendly alias for 'name'.
description:
type: string
title: Description
sample_url:
type: string
title: Sample Url
bw_image_path:
anyOf:
- type: string
- type: 'null'
title: Bw Image Path
bw_image_prompt:
anyOf:
- type: string
- type: 'null'
title: Bw Image Prompt
bw_image_model:
anyOf:
- type: string
- type: 'null'
title: Bw Image Model
type: object
required:
- id
- name
- description
- sample_url
title: StyleSuggestion
securitySchemes:
HTTPBearer:
type: http
scheme: bearer