Ideogram (Text to Image)
Generates images synchronously based on a given prompt and optional parameters. 具体Parameters请see Official Documentation: https://developer.ideogram.ai/api-reference/api-reference/describe according to给定 提示 and can选Parameters同步生成图像. Back to Index 图像 URL in 24 小is内has效, 超过该isbetween将无法访问图像. 已反代图片
Endpoint
POST http://v98store.com/ideogram/generate cURL Command
curl -X POST 'http://v98store.com/ideogram/generate' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "image_request": { "aspect_ratio": "ASPECT_10_16", "magic_prompt_option": "AUTO", "model": "V_1", "prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there is an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset." } }' Parameters
| Name | In | Description | Required |
|---|---|---|---|
| Content-Type | header | Yes | |
| Accept | header | Yes | |
| Authorization | header | Yes |
Request Body
Example
{
"image_request": {
"aspect_ratio": "ASPECT_10_16",
"magic_prompt_option": "AUTO",
"model": "V_1",
"prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there is an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset."
}
} Responses
200 -
Example
{
"created": "2024-12-15T17:32:00.965408+00:00",
"data": [
{
"is_image_safe": true,
"prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there is an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.",
"resolution": "768x1232",
"seed": 1785282233,
"style_type": null,
"url": "https://ideogram.ai/api/images/ephemeral/WkoxvqiOTaaCqG1nO2tQoA.png?exp=1734370337&sig=110fe96dc9e01002c8d837e5b4cde1aaa266195561d231ce76e19e095e478ffe"
}
]
}