ImageKit Dummy Test API
The Dummy Test API from ImageKit — 1 operation(s) for dummy test.
The Dummy Test API from ImageKit — 1 operation(s) for dummy test.
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/imagekit-dummy-test-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: ImageKit Dummy Test API
version: 1.0.0
description: Checkout [API overview](/docs/api-overview) to learn about ImageKit's APIs, authentication, rate limits, and error codes etc.
contact:
email: developer@imagekit.io
name: ImageKit Team
url: https://imagekit.io
termsOfService: https://imagekit.io/terms/
servers:
- url: https://api.imagekit.io
security:
- basicAuth: []
tags:
- name: Dummy Test
paths:
/v1/dummy/test:
post:
summary: Dummy test endpoint using all shared models
operationId: create-dummy-test
description: 'Internal test endpoint for SDK generation purposes only. This endpoint demonstrates usage of all shared models defined in the Stainless configuration and is not intended for public consumption.
'
tags:
- Dummy Test
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
extensions:
$ref: '#/components/schemas/Extensions'
savedExtensions:
$ref: '#/components/schemas/SavedExtension'
extensionConfig:
$ref: '#/components/schemas/ExtensionConfig'
srcOptions:
$ref: '#/components/schemas/SrcOptions'
getImageAttributesOptions:
$ref: '#/components/schemas/GetImageAttributesOptions'
responsiveImageAttributes:
$ref: '#/components/schemas/ResponsiveImageAttributes'
transformation:
$ref: '#/components/schemas/Transformation'
transformationPosition:
$ref: '#/components/schemas/TransformationPosition'
streamingResolution:
$ref: '#/components/schemas/StreamingResolution'
overlay:
$ref: '#/components/schemas/Overlay'
baseOverlay:
$ref: '#/components/schemas/BaseOverlay'
overlayPosition:
$ref: '#/components/schemas/OverlayPosition'
overlayTiming:
$ref: '#/components/schemas/OverlayTiming'
textOverlay:
$ref: '#/components/schemas/TextOverlay'
imageOverlay:
$ref: '#/components/schemas/ImageOverlay'
videoOverlay:
$ref: '#/components/schemas/VideoOverlay'
subtitleOverlay:
$ref: '#/components/schemas/SubtitleOverlay'
solidColorOverlay:
$ref: '#/components/schemas/SolidColorOverlay'
textOverlayTransformation:
$ref: '#/components/schemas/TextOverlayTransformation'
subtitleOverlayTransformation:
$ref: '#/components/schemas/SubtitleOverlayTransformation'
solidColorOverlayTransformation:
$ref: '#/components/schemas/SolidColorOverlayTransformation'
responses:
'204':
description: No content - Request processed successfully with empty response
'400':
description: Bad request
content:
application/json:
schema:
type: object
properties:
error:
type: string
example: Invalid input data
'401':
$ref: '#/components/responses/Unauthorized'
'403':
$ref: '#/components/responses/Forbidden'
components:
schemas:
AutoTaggingExtension:
title: Auto tagging
type: object
required:
- name
- minConfidence
- maxTags
properties:
name:
type: string
enum:
- google-auto-tagging
- aws-auto-tagging
description: Specifies the auto-tagging extension used.
minConfidence:
type: integer
description: Minimum confidence level for tags to be considered valid.
maxTags:
type: integer
description: Maximum number of tags to attach to the asset.
GetImageAttributesOptions:
title: Get Image Attributes Options
description: "Options for generating responsive image attributes including `src`, `srcSet`, and `sizes` for HTML `<img>` elements. \nThis schema extends `SrcOptions` to add support for responsive image generation with breakpoints.\n"
type: object
allOf:
- $ref: '#/components/schemas/SrcOptions'
- type: object
properties:
width:
type: number
description: "The intended display width of the image in pixels, \nused **only when the `sizes` attribute is not provided**.\n\nTriggers a DPR-based strategy (1x and 2x variants) and generates `x` descriptors in `srcSet`.\n\nIgnored if `sizes` is present.\n"
example: 400
sizes:
type: string
description: "The value for the HTML `sizes` attribute \n(e.g., `\"100vw\"` or `\"(min-width:768px) 50vw, 100vw\"`).\n\n- If it includes one or more `vw` units, breakpoints smaller than the corresponding percentage of the smallest device width are excluded.\n- If it contains no `vw` units, the full breakpoint list is used.\n\nEnables a width-based strategy and generates `w` descriptors in `srcSet`.\n"
example: '(min-width: 768px) 50vw, 100vw'
deviceBreakpoints:
type: array
items:
type: number
description: 'Custom list of **device-width breakpoints** in pixels.
These define common screen widths for responsive image generation.
Defaults to `[640, 750, 828, 1080, 1200, 1920, 2048, 3840]`.
Sorted automatically.
'
example:
- 640
- 750
- 828
- 1080
- 1200
- 1920
- 2048
- 3840
imageBreakpoints:
type: array
items:
type: number
description: 'Custom list of **image-specific breakpoints** in pixels.
Useful for generating small variants (e.g., placeholders or thumbnails).
Merged with `deviceBreakpoints` before calculating `srcSet`.
Defaults to `[16, 32, 48, 64, 96, 128, 256, 384]`.
Sorted automatically.
'
example:
- 16
- 32
- 48
- 64
- 96
- 128
- 256
- 384
VideoOverlay:
allOf:
- $ref: '#/components/schemas/BaseOverlay'
- type: object
required:
- type
- input
properties:
type:
type: string
enum:
- video
input:
type: string
description: Specifies the relative path to the video used as an overlay.
encoding:
type: string
enum:
- auto
- plain
- base64
default: auto
description: "The input path can be included in the layer as either `i-{input}` or `ie-{base64_encoded_input}`. \nBy default, the SDK determines the appropriate format automatically. \nTo always use base64 encoding (`ie-{base64}`), set this parameter to `base64`. \nTo always use plain text (`i-{input}`), set it to `plain`.\n\nRegardless of the encoding method:\n- Leading and trailing slashes are removed.\n- Remaining slashes within the path are replaced with `@@` when using plain text.\n"
transformation:
type: array
items:
$ref: '#/components/schemas/Transformation'
description: 'Array of transformation to be applied to the overlay video. Except `streamingResolutions`, all other video transformations are supported.
See [Video transformations](https://imagekit.io/docs/video-transformation).
'
additionalProperties: false
SavedExtensionReference:
title: Saved Extension Reference
type: object
required:
- name
- id
properties:
name:
type: string
description: Indicates this is a reference to a saved extension.
enum:
- saved-extension
id:
type: string
description: The unique ID of the saved extension to apply.
example: ext_abc123
SubtitleOverlay:
allOf:
- $ref: '#/components/schemas/BaseOverlay'
- type: object
required:
- type
- input
properties:
type:
type: string
enum:
- subtitle
input:
type: string
description: Specifies the relative path to the subtitle file used as an overlay.
encoding:
type: string
enum:
- auto
- plain
- base64
default: auto
description: "The input path can be included in the layer as either `i-{input}` or `ie-{base64_encoded_input}`. \nBy default, the SDK determines the appropriate format automatically. \nTo always use base64 encoding (`ie-{base64}`), set this parameter to `base64`. \nTo always use plain text (`i-{input}`), set it to `plain`.\n\nRegardless of the encoding method:\n- Leading and trailing slashes are removed.\n- Remaining slashes within the path are replaced with `@@` when using plain text.\n"
transformation:
type: array
items:
$ref: '#/components/schemas/SubtitleOverlayTransformation'
description: Control styling of the subtitle. See [Styling subtitles](https://imagekit.io/docs/add-overlays-on-videos#styling-controls-for-subtitles-layer).
additionalProperties: false
SrcOptions:
title: Source Options
description: Options for generating ImageKit URLs with transformations. See the [Transformations guide](https://imagekit.io/docs/transformations).
type: object
required:
- src
- urlEndpoint
properties:
src:
type: string
description: "Accepts a relative or absolute path of the resource. If a relative path is provided, it is appended to the `urlEndpoint`. \nIf an absolute path is provided, `urlEndpoint` is ignored.\n"
example: /my-image.jpg
urlEndpoint:
type: string
format: uri
description: 'Get your urlEndpoint from the [ImageKit dashboard](https://imagekit.io/dashboard/url-endpoints).
'
example: https://ik.imagekit.io/demo
transformation:
type: array
items:
$ref: '#/components/schemas/Transformation'
description: 'An array of objects specifying the transformations to be applied in the URL. If more than one transformation is specified, they are applied in the order they are specified as chained transformations.
See [Chained transformations](https://imagekit.io/docs/transformations#chained-transformations).
'
queryParameters:
type: object
additionalProperties:
type: string
description: 'These are additional query parameters that you want to add to the final URL.
They can be any query parameters and not necessarily related to ImageKit.
This is especially useful if you want to add a versioning parameter to your URLs.
'
transformationPosition:
$ref: '#/components/schemas/TransformationPosition'
signed:
type: boolean
default: false
description: "Whether to sign the URL or not. Set this to `true` if you want to generate a signed URL. \nIf `signed` is `true` and `expiresIn` is not specified, the signed URL will not expire (valid indefinitely).\nNote: If `expiresIn` is set to any value above 0, the URL will always be signed regardless of this setting.\n[Learn more](https://imagekit.io/docs/media-delivery-basic-security#how-to-generate-signed-urls).\n"
expiresIn:
type: number
description: "When you want the signed URL to expire, specified in seconds. If `expiresIn` is anything above 0, \nthe URL will always be signed even if `signed` is set to false. If not specified and `signed` is `true`,\nthe signed URL will not expire (valid indefinitely).\n\nExample: Setting `expiresIn: 3600` will make the URL expire 1 hour from generation time. After the expiry time, the signed URL will no longer be valid and ImageKit will return \na 401 Unauthorized status code.\n\n[Learn more](https://imagekit.io/docs/media-delivery-basic-security#how-to-generate-signed-urls).\n"
additionalProperties: false
AutoDescriptionExtension:
title: Auto description
type: object
required:
- name
properties:
name:
type: string
description: Specifies the auto description extension.
enum:
- ai-auto-description
RemovedotBGExtension:
title: Remove background
type: object
required:
- name
properties:
name:
type: string
description: Specifies the background removal extension.
enum:
- remove-bg
options:
type: object
properties:
add_shadow:
type: boolean
description: 'Whether to add an artificial shadow to the result. Default is false. Note: Adding shadows is currently only supported for car photos.
'
default: false
semitransparency:
type: boolean
description: 'Allows semi-transparent regions in the result. Default is true. Note: Semitransparency is currently only supported for car windows.
'
default: true
bg_color:
type: string
description: 'Specifies a solid color background using hex code (e.g., "81d4fa", "fff") or color name (e.g., "green"). If this parameter is set, `bg_image_url` must be empty.
'
bg_image_url:
type: string
description: 'Sets a background image from a URL. If this parameter is set, `bg_color` must be empty.
'
AITaskYesNo:
title: AI Task - Yes/No
type: object
required:
- type
- instruction
properties:
type:
type: string
description: Task type that asks a yes/no question and executes actions based on the answer.
enum:
- yes_no
instruction:
type: string
minLength: 1
maxLength: 2000
description: The yes/no question for the AI to answer about the image.
example: Is this a luxury or high-end fashion item?
on_yes:
$ref: '#/components/schemas/AITaskAction'
description: Actions to execute if the AI answers yes.
on_no:
$ref: '#/components/schemas/AITaskAction'
description: Actions to execute if the AI answers no.
on_unknown:
$ref: '#/components/schemas/AITaskAction'
description: Actions to execute if the AI cannot determine the answer.
StreamingResolution:
type: string
enum:
- '240'
- '360'
- '480'
- '720'
- '1080'
- '1440'
- '2160'
description: Available streaming resolutions for [adaptive bitrate streaming](https://imagekit.io/docs/adaptive-bitrate-streaming)
SolidColorOverlayTransformation:
type: object
properties:
width:
oneOf:
- type: number
- type: string
description: 'Controls the width of the solid color overlay. Accepts a numeric value or an arithmetic expression (e.g., `bw_mul_0.2` or `bh_div_2`).
Learn about [arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
'
height:
oneOf:
- type: number
- type: string
description: 'Controls the height of the solid color overlay. Accepts a numeric value or an arithmetic expression.
Learn about [arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
'
radius:
anyOf:
- type: number
- enum:
- max
- type: string
description: 'Specifies the corner radius of the solid color overlay.
- Single value (positive integer): Applied to all corners (e.g., `20`).
- `max`: Creates a circular or oval shape.
- Per-corner array: Provide four underscore-separated values representing top-left, top-right, bottom-right, and bottom-left corners respectively (e.g., `10_20_30_40`).
See [Radius](https://imagekit.io/docs/effects-and-enhancements#radius---r).
'
alpha:
type: number
minimum: 1
maximum: 9
description: Specifies the transparency level of the overlaid solid color layer. Supports integers from `1` to `9`.
background:
type: string
description: 'Specifies the background color of the solid color overlay. Accepts an RGB hex code (e.g., `FF0000`), an RGBA code (e.g., `FFAABB50`), or a color name.
'
gradient:
oneOf:
- enum:
- true
- type: string
description: 'Creates a linear gradient with two colors. Pass `true` for a default gradient, or provide a string for a custom gradient.
Only works if the base asset is an image. See [gradient](https://imagekit.io/docs/effects-and-enhancements#gradient---e-gradient).
'
additionalProperties: false
SolidColorOverlay:
allOf:
- $ref: '#/components/schemas/BaseOverlay'
- type: object
required:
- type
- color
properties:
type:
type: string
enum:
- solidColor
color:
type: string
description: 'Specifies the color of the block using an RGB hex code (e.g., `FF0000`), an RGBA code (e.g., `FFAABB50`), or a color name (e.g., `red`).
If an 8-character value is provided, the last two characters represent the opacity level (from `00` for 0.00 to `99` for 0.99).
'
transformation:
type: array
items:
$ref: '#/components/schemas/SolidColorOverlayTransformation'
description: 'Control width and height of the solid color overlay. Supported transformations depend on the base/parent asset.
See overlays on [Images](https://imagekit.io/docs/add-overlays-on-images#apply-transformation-on-solid-color-overlay) and [Videos](https://imagekit.io/docs/add-overlays-on-videos#apply-transformations-on-solid-color-block-overlay).
'
additionalProperties: false
OverlayTiming:
type: object
properties:
start:
oneOf:
- type: number
- type: string
description: 'Specifies the start time (in seconds) for when the overlay should appear on the base video.
Accepts a positive number up to two decimal places (e.g., `20` or `20.50`) and arithmetic expressions such as `bdu_mul_0.4` or `bdu_sub_idu`.
Applies only if the base asset is a video.
Maps to `lso` in the URL.
'
duration:
oneOf:
- type: number
- type: string
description: 'Specifies the duration (in seconds) during which the overlay should appear on the base video.
Accepts a positive number up to two decimal places (e.g., `20` or `20.50`) and arithmetic expressions such as `bdu_mul_0.4` or `bdu_sub_idu`.
Applies only if the base asset is a video.
Maps to `ldu` in the URL.
'
end:
oneOf:
- type: number
- type: string
description: 'Specifies the end time (in seconds) for when the overlay should disappear from the base video.
If both end and duration are provided, duration is ignored.
Accepts a positive number up to two decimal places (e.g., `20` or `20.50`) and arithmetic expressions such as `bdu_mul_0.4` or `bdu_sub_idu`.
Applies only if the base asset is a video.
Maps to `leo` in the URL.
'
additionalProperties: false
Extensions:
title: Extensions Array
type: array
items:
discriminator:
propertyName: name
anyOf:
- $ref: '#/components/schemas/RemovedotBGExtension'
- $ref: '#/components/schemas/AutoTaggingExtension'
- $ref: '#/components/schemas/AutoDescriptionExtension'
- $ref: '#/components/schemas/AITasksExtension'
- $ref: '#/components/schemas/SavedExtensionReference'
description: 'Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
'
example:
- name: remove-bg
options:
add_shadow: true
bg_colour: green
- name: google-auto-tagging
maxTags: 5
minConfidence: 95
- name: ai-auto-description
- name: ai-tasks
tasks:
- type: select_tags
instruction: What types of clothing items are visible in this image?
vocabulary:
- shirt
- tshirt
- dress
- trousers
- jacket
- type: yes_no
instruction: Is this a luxury or high-end fashion item?
on_yes:
add_tags:
- luxury
- premium
- name: saved-extension
id: ext_abc123
SavedExtension:
title: Saved Extension
description: Saved extension object containing extension configuration.
type: object
properties:
id:
type: string
description: Unique identifier of the saved extension.
example: ext_abc123
name:
type: string
description: Name of the saved extension.
example: Car Quality Analysis
description:
type: string
description: Description of the saved extension.
example: Analyzes vehicle images for type, condition, and quality assessment
config:
$ref: '#/components/schemas/ExtensionConfig'
createdAt:
type: string
format: date-time
description: Timestamp when the saved extension was created.
updatedAt:
type: string
format: date-time
description: Timestamp when the saved extension was last updated.
AITasksExtension:
title: AI Tasks
type: object
required:
- name
- tasks
properties:
name:
type: string
description: Specifies the AI tasks extension for automated image analysis using AI models.
enum:
- ai-tasks
tasks:
type: array
minItems: 1
maxItems: 10
description: Array of task objects defining AI operations to perform on the asset.
items:
discriminator:
propertyName: type
oneOf:
- $ref: '#/components/schemas/AITaskSelectTags'
- $ref: '#/components/schemas/AITaskSelectMetadata'
- $ref: '#/components/schemas/AITaskYesNo'
ExtensionConfig:
title: Extension Configuration
description: Configuration object for an extension (base extensions only, not saved extension references).
type: object
discriminator:
propertyName: name
oneOf:
- $ref: '#/components/schemas/RemovedotBGExtension'
- $ref: '#/components/schemas/AutoTaggingExtension'
- $ref: '#/components/schemas/AutoDescriptionExtension'
- $ref: '#/components/schemas/AITasksExtension'
TextOverlayTransformation:
type: object
properties:
width:
oneOf:
- type: number
- type: string
description: 'Specifies the maximum width (in pixels) of the overlaid text. The text wraps automatically, and arithmetic expressions (e.g., `bw_mul_0.2` or `bh_div_2`) are supported. Useful when used in conjunction with the `background`.
Learn about [Arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
'
fontSize:
oneOf:
- type: number
- type: string
description: Specifies the font size of the overlaid text. Accepts a numeric value or an arithmetic expression.
fontFamily:
type: string
description: 'Specifies the font family of the overlaid text. Choose from the supported fonts list or use a custom font.
See [Supported fonts](https://imagekit.io/docs/add-overlays-on-images#supported-text-font-list) and [Custom font](https://imagekit.io/docs/add-overlays-on-images#change-font-family-in-text-overlay).
'
fontColor:
type: string
description: 'Specifies the font color of the overlaid text. Accepts an RGB hex code (e.g., `FF0000`), an RGBA code (e.g., `FFAABB50`), or a color name.
'
innerAlignment:
type: string
enum:
- left
- right
- center
default: center
description: 'Specifies the inner alignment of the text when width is more than the text length.
'
padding:
oneOf:
- type: number
- type: string
description: 'Specifies the padding around the overlaid text.
Can be provided as a single positive integer or multiple values separated by underscores (following CSS shorthand order).
Arithmetic expressions are also accepted.
'
alpha:
type: number
minimum: 1
maximum: 9
description: Specifies the transparency level of the text overlay. Accepts integers from `1` to `9`.
typography:
type: string
description: "Specifies the typography style of the text.\nSupported values: \n - Single styles: `b` (bold), `i` (italic), `strikethrough`.\n - Combinations: Any combination separated by underscores, e.g., `b_i`, `b_i_strikethrough`.\n"
background:
type: string
description: 'Specifies the background color of the text overlay.
Accepts an RGB hex code, an RGBA code, or a color name.
'
radius:
anyOf:
- type: number
- enum:
- max
- type: string
description: 'Specifies the corner radius:
- Single value (positive integer): Applied to all corners (e.g., `20`).
- `max`: Creates a circular or oval shape.
- Per-corner array: Provide four underscore-separated values representing top-left, top-right, bottom-right, and bottom-left corners respectively (e.g., `10_20_30_40`).
See [Radius](https://imagekit.io/docs/effects-and-enhancements#radius---r).
'
rotation:
oneOf:
- type: number
- type: string
description: 'Specifies the rotation angle of the text overlay.
Accepts a numeric value for clockwise rotation or a string prefixed with "N" for counter-clockwise rotation.
'
flip:
type: string
enum:
- h
- v
- h_v
- v_h
description: 'Flip/mirror the text horizontally, vertically, or in both directions.
Acceptable values: `h` (horizontal), `v` (vertical), `h_v` (horizontal and vertical), or `v_h`.
'
lineHeight:
oneOf:
- type: number
- type: string
description: 'Specifies the line height for multi-line text overlays. It will come into effect only if the text wraps over multiple lines.
Accepts either an integer value or an arithmetic expression.
'
additionalProperties: false
OverlayPosition:
type: object
properties:
x:
oneOf:
- type: number
- type: string
description: 'Specifies the x-coordinate of the top-left corner of the base asset where the overlay''s top-left corner will be positioned.
It also accepts arithmetic expressions such as `bw_mul_0.4` or `bw_sub_cw`.
Maps to `lx` in the URL.
Learn about [Arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
'
y:
oneOf:
- type: number
- type: string
description: 'Specifies the y-coordinate of the top-left corner of the base asset where the overlay''s top-left corner will be positioned.
It also accepts arithmetic expressions such as `bh_mul_0.4` or `bh_sub_ch`.
Maps to `ly` in the URL.
Learn about [Arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
'
xCenter:
oneOf:
- type: number
- type: string
description: 'Specifies the x-coordinate on the base asset where the overlay''s center will be positioned.
It also accepts arithmetic expressions such as `bw_mul_0.4` or `bw_sub_cw`.
Maps to `lxc` in the URL.
Cannot be used together with `x`, but can be used with `y`.
Learn about [Arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
'
yCenter:
oneOf:
- type: number
- type: string
description: 'Specifies the y-coordinate on the base asset where the overlay''s center will be positioned.
It also accepts arithmetic expressions such as `bh_mul_0.4` or `bh_sub_ch`.
Maps to `lyc` in the URL.
Cannot be used together with `y`, but can be used with `x`.
Learn about [Arithmetic expressions](https://imagekit.io/docs/arithmetic-expressions-in-transformations).
'
anchorPoint:
type: string
enum:
- top
- left
- right
- bottom
- top_left
- top_right
- bottom_left
- bottom_right
- center
description: 'Sets the anchor point on the base asset from which the overlay offset is calculated.
The default value is `top_left`.
Maps to `lap` in the URL.
Can only be used with one or more of `x`, `y`, `xCenter`, or `yCenter`.
'
focus:
type: string
enum:
- center
- top
- left
- bottom
- right
- top_left
- top_right
- bottom_left
- bottom_right
description: 'Specifies the position of the overlay relative to the parent image or video.
If one or more of `x`, `y`, `xCenter`, or `yCenter` parameters are specified, this parameter is ignored.
Maps to `lfo` in the URL.
'
additionalProperties: false
ResponsiveImageAttributes:
title: Responsive Image Attributes
description: 'Resulting set of attributes suitable for an HTML `<img>` element.
Useful for enabling responsive image loading with `srcSet` and `sizes`.
'
type: object
required:
- src
properties:
src:
type: string
format: uri
description: URL for the *largest* candidate (assigned to plain `src`).
example: https://ik.imagekit.io/demo/image.jpg?tr=w-3840
srcSet:
type: string
description: "Candidate set with `w` or `x` descriptors. \nMultiple image URLs separated by commas, each with a descriptor.\n"
example: https://ik.imagekit.io/demo/image.jpg?tr=w-640 640w, https://ik.imagekit.io/demo/image.jpg?tr=w-1080 1080w, https://ik.imagekit.io/demo/image.jpg?tr=w-1920 1920w
sizes:
type: string
description: "`sizes` returned (or synthesised a
# --- truncated at 32 KB (69 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/imagekit/refs/heads/main/openapi/imagekit-dummy-test-api-openapi.yml