Skip to main content
Glama
ImageFormat.ts1.38 kB
/* tslint:disable */ /* eslint-disable */ /** * recraft.ai external api * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 0.0.1 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export */ export const ImageFormat = { Webp: 'webp', Png: 'png' } as const; export type ImageFormat = typeof ImageFormat[keyof typeof ImageFormat]; export function instanceOfImageFormat(value: any): boolean { for (const key in ImageFormat) { if (Object.prototype.hasOwnProperty.call(ImageFormat, key)) { if (ImageFormat[key as keyof typeof ImageFormat] === value) { return true; } } } return false; } export function ImageFormatFromJSON(json: any): ImageFormat { return ImageFormatFromJSONTyped(json, false); } export function ImageFormatFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImageFormat { return json as ImageFormat; } export function ImageFormatToJSON(value?: ImageFormat | null): any { return value as any; } export function ImageFormatToJSONTyped(value: any, ignoreDiscriminator: boolean): ImageFormat { return value as ImageFormat; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/recraft-ai/mcp-recraft-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server