Seededit 3.0 (Image-to-Image)
Model Overview
This model can process and generate 4K images, editing selected areas naturally and precisely while faithfully preserving the visual fidelity of non-edited areas.
Setup your API Key
If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.
API Schema
The image(s) to edit. Must be a supported image file or an array of images. Each image should be a png, webp, or jpg file less than 50MB. You can provide up to 16 images.
The total image area (height x width) must be between 262,144 and 4,194,304 pixels.
1024x1024
The text prompt describing the content, style, or composition of the image to be generated.
The format in which the generated images are returned.
url
Possible values: The same seed and the same prompt given to the same version of the model will output the same image every time.
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
Add an invisible watermark to the generated images.
false
Successfully generated image
POST /v1/images/generations HTTP/1.1
Host: api.aimlapi.com
Authorization: Bearer <YOUR_AIMLAPI_KEY>
Content-Type: application/json
Accept: */*
Content-Length: 158
{
"model": "bytedance/seededit-3.0-i2i",
"image": "text",
"size": "1024x1024",
"prompt": "text",
"response_format": "url",
"seed": 1,
"guidance_scale": 1,
"watermark": false
}
Successfully generated image
{
"status": "text",
"prompt": [
"text"
],
"model": "text",
"model_owner": "text",
"tags": {
"ANY_ADDITIONAL_PROPERTY": null
},
"num_returns": 1,
"args": {
"model": "text",
"prompt": "text",
"n": 1,
"steps": 1,
"size": "text"
},
"subjobs": [],
"output": {
"choices": [
{
"image_base64": "text"
}
]
}
}
Quick Example
Let's generate an image of the specified size using a simple prompt.
import requests
import json
def main():
response = requests.post(
"https://api.aimlapi.com/v1/images/generations",
headers={
# Insert your AIML API Key instead of <YOUR_AIMLAPI_KEY>:
"Authorization": "Bearer <YOUR_AIMLAPI_KEY>",
"Content-Type": "application/json",
},
json={
"model": "bytedance/seededit-3.0-i2i",
"image": "https://zovi0.github.io/public_misc/flux-dev-t-rex.png",
"prompt": "Add a bird to the foreground of the photo.",
}
)
data = response.json()
print(json.dumps(data, indent=2, ensure_ascii=False))
if __name__ == "__main__":
main()


"Add a bird to the foreground of the photo."
Last updated
Was this helpful?