v4
latestOpenAPI 3.0.22026-08-02109239415.7 KBbatch
Initiate Batch Magic Prompt Evalution
Runs automated evaluation of multiple LLM models and system prompts for magic prompt generation. Generates images using large batches of user prompt inputs. Internal use only (feature flagged).
post/internal/batch
Request body
Example request
{
"user_prompts": [
"a cat",
"a dog"
],
"sampling_request_params": {
"magic_prompt_system_prompt_config_id": "magic_prompt_system_prompt_config_id",
"aspect_ratio": "1x1",
"style_type": "GENERAL",
"magic_prompt_version": "V_0",
"seed": 12345,
"negative_prompt": "brush strokes, painting",
"magic_prompt_option": "ON",
"model": "V_2_TURBO",
"resolution": "1280x800",
"num_images": 1,
"color_palette": {
"name": "PASTEL"
}
},
"experiment_variant": "MAGIC_PROMPT_NO_TEXT"
}Response
Batch magic prompt evalution completed successfully.
Example response
{
"job_id": "job_id"
}