LovPics AI Stories API
The ai-stories API from LovPics — 4 operation(s) for ai-stories.
The ai-stories API from LovPics — 4 operation(s) for ai-stories.
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/lovpics-com:lovpics-com-ai-stories-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: Virtual Studio AI Stories API
version: 0.1.0
tags:
- name: ai-stories
paths:
/api/ai-stories/generate-script:
post:
tags:
- ai-stories
summary: Generate Script
operationId: generate_script_api_ai_stories_generate_script_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateStoryScriptRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateStoryScriptResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/ai-stories/check-credits:
post:
tags:
- ai-stories
summary: Check Credits
operationId: check_credits_api_ai_stories_check_credits_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/CheckStoryCreditsRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/CheckStoryCreditsResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/ai-stories/videos:
get:
tags:
- ai-stories
summary: Get Story Videos
operationId: get_story_videos_api_ai_stories_videos_get
security:
- HTTPBearer: []
parameters:
- name: limit
in: query
required: false
schema:
type: integer
default: 50
title: Limit
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/ItemsListResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/ai-stories/generate-stream:
post:
tags:
- ai-stories
summary: Generate Story Stream
description: NDJSON progress stream; generates Veo segments sequentially, merges, logo/outro.
operationId: generate_story_stream_api_ai_stories_generate_stream_post
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/GenerateStoryVideoRequest'
required: true
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
GenerateStoryVideoRequest:
properties:
script:
additionalProperties: true
type: object
title: Script
referenceImages:
items:
type: string
type: array
maxItems: 3
title: Referenceimages
aspectRatio:
type: string
title: Aspectratio
default: '9:16'
instructions:
anyOf:
- type: string
- type: 'null'
title: Instructions
companyLogo:
anyOf:
- type: string
- type: 'null'
title: Companylogo
companyLogoPlacement:
anyOf:
- type: string
- type: 'null'
title: Companylogoplacement
outroCompanyLogo:
anyOf:
- type: string
- type: 'null'
title: Outrocompanylogo
outroPhone:
anyOf:
- type: string
- type: 'null'
title: Outrophone
outroWebsite:
anyOf:
- type: string
- type: 'null'
title: Outrowebsite
type: object
required:
- script
title: GenerateStoryVideoRequest
ItemsListResponse:
properties:
success:
type: boolean
title: Success
examples:
- true
items:
items:
additionalProperties: true
type: object
type: array
title: Items
additionalProperties: true
type: object
required:
- success
- items
title: ItemsListResponse
CheckStoryCreditsResponse:
properties:
success:
type: boolean
title: Success
required_credits:
type: integer
title: Required Credits
segment_count:
type: integer
title: Segment Count
has_sufficient_credits:
type: boolean
title: Has Sufficient Credits
message:
anyOf:
- type: string
- type: 'null'
title: Message
type: object
required:
- success
- required_credits
- segment_count
- has_sufficient_credits
title: CheckStoryCreditsResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
GenerateStoryScriptResponse:
properties:
success:
type: boolean
title: Success
title:
anyOf:
- type: string
- type: 'null'
title: Title
character_lock:
anyOf:
- type: string
- type: 'null'
title: Character Lock
beats:
anyOf:
- items:
additionalProperties: true
type: object
type: array
- type: 'null'
title: Beats
total_seconds:
anyOf:
- type: integer
- type: 'null'
title: Total Seconds
segment_count:
anyOf:
- type: integer
- type: 'null'
title: Segment Count
segment_duration_seconds:
type: integer
title: Segment Duration Seconds
default: 8
beat_seconds:
type: integer
title: Beat Seconds
default: 2
message:
anyOf:
- type: string
- type: 'null'
title: Message
type: object
required:
- success
title: GenerateStoryScriptResponse
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
CheckStoryCreditsRequest:
properties:
total_seconds:
type: integer
title: Total Seconds
type: object
required:
- total_seconds
title: CheckStoryCreditsRequest
GenerateStoryScriptRequest:
properties:
content:
type: string
title: Content
instructions:
anyOf:
- type: string
- type: 'null'
title: Instructions
referenceImages:
items:
type: string
type: array
maxItems: 3
title: Referenceimages
type: object
required:
- content
title: GenerateStoryScriptRequest
securitySchemes:
HTTPBearer:
type: http
scheme: bearer