Class XAIImageGenerationRequest
public class XAIImageGenerationRequest : IJsonRequest
- Inheritance
-
objectXAIImageGenerationRequest
Properties
Model
Optional. Model to be used.
public string Model { get; set; }
Property Value
- string
N
Optional. Number of images to be generated. Default: 1. Min: 1. Max: 10.
public int? N { get; set; }
Property Value
- int?
Prompt
Required. Prompt for image generation.
public string Prompt { get; set; }
Property Value
- string
ResponseFormat
Optional. Response format to return the image in. Can be url or b64_json. Default: url.
public GeneratedImageFormat? ResponseFormat { get; set; }
Property Value
User
Optional. A unique identifier representing your end-user, which can help xAI to monitor and detect abuse.
public string User { get; set; }
Property Value
- string