ShortGenius Images API
The Images API from ShortGenius — 3 operation(s) for images.
The Images API from ShortGenius — 3 operation(s) for images.
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/shortgenius-com:shortgenius-com-images-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: ShortGenius Images API
version: 1.0.0
description: Generate AI-based videos, images, and audio, and manage your ShortGenius account.
servers:
- url: https://api.shortgenius.com/v1
security:
- bearerAuth: []
tags:
- name: Images
paths:
/images:
post:
operationId: createImage
summary: Create image
description: Create an image from a prompt.
requestBody:
content:
application/json:
schema:
type: object
properties:
prompt:
type: string
description: The prompt to generate the image from.
aspect_ratio:
type: string
enum:
- 556
- 969
- 61
description: The aspect ratio of the image.
image_style_id:
type:
- string
- 'null'
format: uuid
description: The ID of the image style to use. Use the [List image styles](#tag/images/GET/presets/{type}) endpoint to get a list of available image styles.
scene_id:
type:
- string
- 'null'
format: uuid
description: If you want to add the generated image to a video scene you can specify it here.
wait_for_generation:
type: boolean
default: false
description: If false, this endpoint immediately returns the incomplete image record, and you can poll the [Get image](#tag/images/GET/media/get/{id}) endpoint until the task completes. If true, this endpoint waits until the image generation completes, then returns the complete image record. Defaults to false.
model:
type: string
quality:
type: string
enum:
- low
- medium
- high
default: high
source_media_id:
type:
- string
- 'null'
format: uuid
description: The ID of the media to use as a source for the image.
associated_product_id:
type:
- string
- 'null'
description: The ID of the product to associate this image with.
required:
- prompt
- aspect_ratio
additionalProperties: false
description: Parameters required to generate an image.
required: true
responses:
'200':
description: Successful response
content:
application/json:
schema:
$ref: '#/components/schemas/Image'
description: The newly created image record.
'400':
description: Invalid request
content:
application/json:
schema:
type: object
properties:
message:
type:
- string
- 'null'
description: Error message describing the reason for failure.
description: An error response object.
'401':
description: Unauthorized request
content:
application/json:
schema:
type: object
properties:
message:
type:
- string
- 'null'
description: Error message describing the reason for failure.
description: An error response object.
tags:
- Images
get:
operationId: getImages
summary: List images
description: Get all the images you have generated.
parameters:
- in: query
name: page
description: The page number to retrieve.
schema:
type: number
default: 0
description: The page number to retrieve.
- in: query
name: limit
description: The maximum number of items per page.
schema:
type: number
maximum: 200
default: 50
description: The maximum number of items per page.
- in: query
name: for_public
description: If 1, only public images are returned.
schema:
type: number
default: 0
description: If 1, only public images are returned.
- in: query
name: associatedProductId
description: Filter images by associated product ID.
schema:
type:
- string
- 'null'
description: Filter images by associated product ID.
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
images:
type: array
items:
$ref: '#/components/schemas/Image'
description: A list of generated images.
has_more:
type: boolean
description: Indicates if more items are available.
required:
- images
- has_more
'400':
description: Invalid request
content:
application/json:
schema:
type: object
properties:
message:
type:
- string
- 'null'
description: Error message describing the reason for failure.
description: An error response object.
tags:
- Images
/images/{id}:
get:
operationId: getImage
summary: Get image
parameters:
- in: path
name: id
description: The unique ID of the image record to retrieve.
schema:
type: string
format: uuid
description: The unique ID of the image record to retrieve.
required: true
responses:
'200':
description: Successful response
content:
application/json:
schema:
anyOf:
- anyOf:
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
enum:
- GeneratedImage
- GeneratedImagePreset
state:
type: string
enum:
- pending
- generating
- completed
- error
- request_smart_motion
- placeholder
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
prompt:
type: string
is_nsfw:
type: boolean
aspect_ratio:
type: string
enum:
- 556
- 969
- 61
default: 556
image_style_id:
type:
- string
- 'null'
format: uuid
required:
- id
- url
- type
- state
- created_at
- prompt
- is_nsfw
- aspect_ratio
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
enum:
- GeneratedVideo
- GeneratedVideoPreset
- GeneratedVideoFromCloning
state:
type: string
enum:
- pending
- generating
- completed
- error
- request_smart_motion
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
first_frame_image_id:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: LumaGeneratedVideo
state:
type: string
enum:
- pending
- generating
- completed
- error
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: Segmentation
state:
type: string
enum:
- pending
- generating
- completed
- error
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
user_id:
type: string
format: uuid
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: Image
state:
type: string
const: completed
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- user_id
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
user_id:
type: string
format: uuid
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: Video
state:
type: string
const: completed
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- user_id
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: UgcCreator
state:
type: string
const: completed
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: UgcVideo
state:
type: string
enum:
- pending
- generating
- completed
- error
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: VideoClip
state:
type: string
const: completed
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: Segmentation
state:
type: string
enum:
- pending
- generating
- completed
- error
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
state:
type: string
enum:
- uploading
- error
- completed
- request_smart_motion
type:
type: string
enum:
- UserImage
- UserImagePreset
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- state
- type
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
state:
type: string
enum:
- uploading
- error
- completed
- request_smart_motion
type:
type: string
const: UserImageFromPicker
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- state
- type
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
state:
type: string
enum:
- uploading
- error
- completed
- request_smart_motion
type:
type: string
const: UserVideo
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- state
- type
- created_at
- type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associated_product_id:
type:
- string
- 'null'
type:
type: string
const: UserImageSegmentation
state:
type: string
enum:
- pending
- generating
- error
- completed
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
required:
- id
- url
- type
- state
- created_at
description: Details of the requested image record.
'400':
description: Invalid request
content:
application/json:
schema:
type: object
properties:
message:
type:
- string
- 'null'
description: Error message describing the reason for failure.
description: An error response object.
tags:
- Images
/images/styles:
get:
operationId: getImageStyles
summary: List image styles
description: Get all the image styles available for creating images.
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ImageStyle'
description: A list of predefined image styles.
'400':
description: Invalid request
content:
application/json:
schema:
type: object
properties:
message:
type:
- string
- 'null'
description: Error message describing the reason for failure.
description: An error response object.
tags:
- Images
components:
schemas:
Image:
type: object
properties:
id:
type: string
format: uuid
url:
type:
- string
- 'null'
associatedProductId:
type:
- string
- 'null'
type:
type: string
enum:
- GeneratedImage
- GeneratedImagePreset
state:
type: string
enum:
- pending
- generating
- completed
- error
- request_smart_motion
- placeholder
created_at:
type: string
description: Date and time (ISO 8601) when the media was created.
updated_at:
type:
- string
- 'null'
description: Date and time (ISO 8601) when the media was last updated.
prompt:
type: string
is_nsfw:
type: boolean
aspect_ratio:
type: string
enum:
- 556
- 969
- 61
default: 556
description: Aspect ratio of the generated image.
image_style_id:
type:
- string
- 'null'
format: uuid
required:
- id
- url
- type
- state
- created_at
- prompt
- is_nsfw
- aspect_ratio
ImageStyle:
type: object
properties:
id:
type: string
format: uuid
description: Unique ID of the image style.
name:
type: string
description: Name of the image style.
privacy:
type: string
enum:
- Private
- Public
- System
description: Privacy of the image style.
prompt:
type: string
description: Prompt for the image style.
examples:
type: array
items:
type: string
description: Examples of the image style.
required:
- id
- name
- privacy
- prompt
- examples
description: A predefined image style
securitySchemes:
bearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Your ShortGenius API token