@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
44 lines (43 loc) • 1.38 kB
TypeScript
/**
* Neynar API
* The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
*
* The version of the OpenAPI document: 3.175.0
* Contact: team@neynar.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
export interface GenerateImageRequest {
/**
* Output image format (default: png)
*/
'format'?: GenerateImageRequestFormatEnum;
/**
* Output image height in pixels (default: 1024)
*/
'height'?: number;
/**
* Use the high-fidelity model (slower but more detailed). Default: false.
*/
'high_fidelity'?: boolean;
/**
* Text prompt describing the image to generate
*/
'prompt': string;
/**
* Optional array of source image URLs to edit or use as reference (max 5)
*/
'source_image_urls'?: Array<string>;
/**
* Output image width in pixels (default: 1024)
*/
'width'?: number;
}
export declare const GenerateImageRequestFormatEnum: {
readonly Png: "png";
readonly Jpeg: "jpeg";
readonly Webp: "webp";
};
export type GenerateImageRequestFormatEnum = typeof GenerateImageRequestFormatEnum[keyof typeof GenerateImageRequestFormatEnum];