Ideogram 3 Remix
Ideogram 3 Remix enables versatile image transformation, enhancing creativity through customizable design iterations.
1import requests
2import json
3
4url = "https://api.segmind.com/v1/ideogram-3-remix"
5headers = {
6 "x-api-key": "YOUR_API_KEY",
7 "Content-Type": "application/json"
8}
9
10data = {
11 "prompt": "Majestic waterfall under moonlight",
12 "image": "https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg",
13 "image_weight": 50,
14 "seed": 6522,
15 "resolution": "1024x1024",
16 "rendering_speed": "DEFAULT",
17 "magic_prompt": "AUTO",
18 "negative_prompt": "No people, no buildings",
19 "style_codes": [],
20 "style_type": "GENERAL",
21 "style_reference_images": []
22}
23
24response = requests.post(url, headers=headers, json=data)
25
26if response.status_code == 200:
27 result = response.json()
28 print(json.dumps(result, indent=2))
29else:
30 print(f"Error: {response.status_code}")
31 print(response.text) 1import requests
2import json
3
4url = "https://api.segmind.com/v1/ideogram-3-remix"
5headers = {
6 "x-api-key": "YOUR_API_KEY",
7 "Content-Type": "application/json"
8}
9
10data = {
11 "prompt": "Majestic waterfall under moonlight",
12 "image": "https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg",
13 "image_weight": 50,
14 "seed": 6522,
15 "resolution": "1024x1024",
16 "rendering_speed": "DEFAULT",
17 "magic_prompt": "AUTO",
18 "negative_prompt": "No people, no buildings",
19 "style_codes": [],
20 "style_type": "GENERAL",
21 "style_reference_images": []
22}
23
24response = requests.post(url, headers=headers, json=data)
25
26if response.status_code == 200:
27 result = response.json()
28 print(json.dumps(result, indent=2))
29else:
30 print(f"Error: {response.status_code}")
31 print(response.text)API Endpoint
https://api.segmind.com/v1/ideogram-3-remixParameters
imagerequiredstring (uri)Initial image for creation. Opt for images matching the desired theme or scene.
"https://segmind-resources.s3.amazonaws.com/output/5cdc7a1e-14a5-4cdd-9b0f-ed7097114933-e1f80202-4999-4cb7-b89e-ed378cfc2b5a.jpeg"promptrequiredstringGuide image creation. Use detailed prompts like 'majestic waterfall under moonlight' for specific themes.
"Majestic waterfall under moonlight"aspect_ratiooptionalstringDefines aspect ratio. Use 1x1 for square, others for different dimensions.
null"1x3""3x1""1x2""2x1""9x16""16x9""10x16""16x10""2x3""3x2"+5 morecolor_paletteoptionalany | anyA color palette for generation
Preset Color PaletteoptionalanynamerequiredstringCustom Color Paletteoptionalanymembersrequiredobject[]image_weightoptionalintegerSets the influence of the base image. Increase for strong influence, reduce for subtle impacts.
50magic_promptoptionalstringEnhances prompts. Use 'ON' for enriched results or 'OFF' for manual input.
"AUTO""AUTO""ON""OFF"negative_promptoptionalstringExcludes elements from results. Specify unwanted features here.
"No people, no buildings"rendering_speedoptionalstringBalances speed and quality. Use 'QUALITY' for detail, 'TURBO' for speed.
"DEFAULT""TURBO""DEFAULT""QUALITY"resolutionoptionalstringDefines output resolution. Use high resolution for detail, low for speed.
"1024x1024""512x1536""576x1408""576x1472""576x1536""640x1344""640x1408""640x1472""640x1536""704x1152""704x1216"+59 moreseedoptionalintegerEnsures consistent outputs. Use specific seeds for reproducible results.
6522Range: 100 - 999999style_codesoptionalstring[]Apply style codes for themes. Use codes for specific styles or moods.
style_reference_imagesoptionalstring[]Add sample images for style influence. Use relevant samples that fit size limits.
style_typeoptionalstringChoose overarching style. 'REALISTIC' for lifelike, 'DESIGN' for abstract.
"GENERAL""AUTO""GENERAL""REALISTIC""DESIGN"Response Type
Returns: Image
Common Error Codes
The API returns standard HTTP status codes. Detailed error messages are provided in the response body.
Bad Request
Invalid parameters or request format
Unauthorized
Missing or invalid API key
Forbidden
Insufficient permissions
Not Found
Model or endpoint not found
Insufficient Credits
Not enough credits to process request
Rate Limited
Too many requests
Server Error
Internal server error
Bad Gateway
Service temporarily unavailable
Timeout
Request timed out