[API]: Image editing endpoint /v1/images/edits: 503 on agnes-image-2.5-flash, 500 on agnes-image-2.0-flash
Model
agnes-2.0-flash
Endpoint
POST /v1/chat/completions
SDK or client
No response
Minimal sanitized request
Environment
- Base URL: https://apihub.agnes-ai.com/v1
- Date observed: 2026-10-01 (UTC+07), still reproducing ~2h after first observation
- Client: curl / Python urllib, multipart form upload
- API key: valid and working on /v1/images/generations (text-to-image for the same model succeeds)
Symptom 1 — agnes-image-2.5-flash: 503, channel down
POST /v1/images/edits with a valid multipart image upload returns:
{"error": {"message": "InternalService.ServiceUnavailableError: OpenAIException - no available server", "type": "internal_server_error", "code": "503"}}
Retried 10+ times at ~5 minute intervals over 40+ minutes — always 503.
Symptom 2 — agnes-image-2.0-flash: 500, server-side float parse error
The same request with model=agnes-image-2.0-flash returns:
{"error": {"message": "could not convert string to float: ''", "type": "internal_server_error", "code": "500"}}
Exhaustively tried parameter combinations — the error is identical for all of them, so it is not a client-side parameter problem:
- bare (model + prompt + image only)
- size=1024x1024
- n=1
- response_format=b64_json
- 512px input image instead of 1500px
- JSON body with image_url data URI (rejected earlier as "image must be multipart"; same 500 when sent via multipart)
Minimal reproducible request
curl -sS -X POST "https://apihub.agnes-ai.com/v1/images/edits" \
-H "Authorization: Bearer $AGNES_API_KEY" \
--form "model=agnes-image-2.5-flash" \
--form "prompt=a product photo of a gray fleece blanket on a white background" \
--form "size=1024x1024" \
--form "n=1" \
--form "[email protected];type=image/jpeg"
(No key leaked; $AGNES_API_KEY is a valid key that succeeds on /v1/images/generations at the same time.)
Expected behavior
/v1/images/edits completes and returns image data, as documented for the Agnes Image model family.
Actual behavior
- agnes-image-2.5-flash (and agnes-image-3.0-flash): 503 "no available server" / model_not_found "No available channel"
- agnes-image-2.0-flash: 500 "could not convert string to float: ''" regardless of parameters — looks like the upstream channel is passing an empty string into a float field.
- agnes-image-2.5-pro / 2.5-pro-alpha: model_not_found (no channel under group default)
- Note: /v1/images/generations with an "images" array for 2.5-flash returns invalid_request: "images is not supported by text image queue" — so reference-image editing has no fallback path today.
Impact
All image-to-image / reference-image workflows on Agnes are currently blocked; only text-to-image works.
Suggested checks
- Channel routing for agnes-image-2.5-flash under group default (distributor) — appears to have no live upstream servers.
- 500 on 2.0-flash: an empty string reaching a float(...) cast in the channel adapter — possibly a missing required channel parameter (e.g. size/resolution defaulting to empty).
Request IDs (for your logs)
- 20261001113448253112590XEZeL97U (model_not_found, 3.0-flash)
- 20261001125835562923907WHE9ggzb (image model rejected on chat endpoint, same time window)
Error response
Environment
- Base URL: https://apihub.agnes-ai.com/v1
- Date observed: 2026-10-01 (UTC+07), still reproducing ~2h after first observation
- Client: curl / Python urllib, multipart form upload
- API key: valid and working on /v1/images/generations (text-to-image for the same model succeeds)
Symptom 1 — agnes-image-2.5-flash: 503, channel down
POST /v1/images/edits with a valid multipart image upload returns:
{"error": {"message": "InternalService.ServiceUnavailableError: OpenAIException - no available server", "type": "internal_server_error", "code": "503"}}
Retried 10+ times at ~5 minute intervals over 40+ minutes — always 503.
Symptom 2 — agnes-image-2.0-flash: 500, server-side float parse error
The same request with model=agnes-image-2.0-flash returns:
{"error": {"message": "could not convert string to float: ''", "type": "internal_server_error", "code": "500"}}
Exhaustively tried parameter combinations — the error is identical for all of them, so it is not a client-side parameter problem:
- bare (model + prompt + image only)
- size=1024x1024
- n=1
- response_format=b64_json
- 512px input image instead of 1500px
- JSON body with image_url data URI (rejected earlier as "image must be multipart"; same 500 when sent via multipart)
Minimal reproducible request
curl -sS -X POST "https://apihub.agnes-ai.com/v1/images/edits" \
-H "Authorization: Bearer $AGNES_API_KEY" \
--form "model=agnes-image-2.5-flash" \
--form "prompt=a product photo of a gray fleece blanket on a white background" \
--form "size=1024x1024" \
--form "n=1" \
--form "[email protected];type=image/jpeg"
(No key leaked; $AGNES_API_KEY is a valid key that succeeds on /v1/images/generations at the same time.)
Expected behavior
/v1/images/edits completes and returns image data, as documented for the Agnes Image model family.
Actual behavior
- agnes-image-2.5-flash (and agnes-image-3.0-flash): 503 "no available server" / model_not_found "No available channel"
- agnes-image-2.0-flash: 500 "could not convert string to float: ''" regardless of parameters — looks like the upstream channel is passing an empty string into a float field.
- agnes-image-2.5-pro / 2.5-pro-alpha: model_not_found (no channel under group default)
- Note: /v1/images/generations with an "images" array for 2.5-flash returns invalid_request: "images is not supported by text image queue" — so reference-image editing has no fallback path today.
Impact
All image-to-image / reference-image workflows on Agnes are currently blocked; only text-to-image works.
Suggested checks
- Channel routing for agnes-image-2.5-flash under group default (distributor) — appears to have no live upstream servers.
- 500 on 2.0-flash: an empty string reaching a float(...) cast in the channel adapter — possibly a missing required channel parameter (e.g. size/resolution defaulting to empty).
Request IDs (for your logs)
- 20261001113448253112590XEZeL97U (model_not_found, 3.0-flash)
- 20261001125835562923907WHE9ggzb (image model rejected on chat endpoint, same time window)
Expected behavior
Environment
- Base URL: https://apihub.agnes-ai.com/v1
- Date observed: 2026-10-01 (UTC+07), still reproducing ~2h after first observation
- Client: curl / Python urllib, multipart form upload
- API key: valid and working on /v1/images/generations (text-to-image for the same model succeeds)
Symptom 1 — agnes-image-2.5-flash: 503, channel down POST /v1/images/edits with a valid multipart image upload returns:
{"error": {"message": "InternalService.ServiceUnavailableError: OpenAIException - no available server", "type": "internal_server_error", "code": "503"}}
Retried 10+ times at ~5 minute intervals over 40+ minutes — always 503.
Symptom 2 — agnes-image-2.0-flash: 500, server-side float parse error The same request with model=agnes-image-2.0-flash returns:
{"error": {"message": "could not convert string to float: ''", "type": "internal_server_error", "code": "500"}}
Exhaustively tried parameter combinations — the error is identical for all of them, so it is not a client-side parameter problem:
- bare (model + prompt + image only)
- size=1024x1024
- n=1
- response_format=b64_json
- 512px input image instead of 1500px
- JSON body with image_url data URI (rejected earlier as "image must be multipart"; same 500 when sent via multipart)
Minimal reproducible request
curl -sS -X POST "https://apihub.agnes-ai.com/v1/images/edits"
-H "Authorization: Bearer $AGNES_API_KEY"
--form "model=agnes-image-2.5-flash"
--form "prompt=a product photo of a gray fleece blanket on a white background"
--form "size=1024x1024"
--form "n=1"
--form "[email protected];type=image/jpeg"
(No key leaked; $AGNES_API_KEY is a valid key that succeeds on /v1/images/generations at the same time.)
Expected behavior /v1/images/edits completes and returns image data, as documented for the Agnes Image model family.
Actual behavior
- agnes-image-2.5-flash (and agnes-image-3.0-flash): 503 "no available server" / model_not_found "No available channel"
- agnes-image-2.0-flash: 500 "could not convert string to float: ''" regardless of parameters — looks like the upstream channel is passing an empty string into a float field.
- agnes-image-2.5-pro / 2.5-pro-alpha: model_not_found (no channel under group default)
- Note: /v1/images/generations with an "images" array for 2.5-flash returns invalid_request: "images is not supported by text image queue" — so reference-image editing has no fallback path today.
Impact All image-to-image / reference-image workflows on Agnes are currently blocked; only text-to-image works.
Suggested checks
- Channel routing for agnes-image-2.5-flash under group default (distributor) — appears to have no live upstream servers.
- 500 on 2.0-flash: an empty string reaching a float(...) cast in the channel adapter — possibly a missing required channel parameter (e.g. size/resolution defaulting to empty).
Request IDs (for your logs)
- 20261001113448253112590XEZeL97U (model_not_found, 3.0-flash)
- 20261001125835562923907WHE9ggzb (image model rejected on chat endpoint, same time window)
Actual behavior
Environment
- Base URL: https://apihub.agnes-ai.com/v1
- Date observed: 2026-10-01 (UTC+07), still reproducing ~2h after first observation
- Client: curl / Python urllib, multipart form upload
- API key: valid and working on /v1/images/generations (text-to-image for the same model succeeds)
Symptom 1 — agnes-image-2.5-flash: 503, channel down POST /v1/images/edits with a valid multipart image upload returns:
{"error": {"message": "InternalService.ServiceUnavailableError: OpenAIException - no available server", "type": "internal_server_error", "code": "503"}}
Retried 10+ times at ~5 minute intervals over 40+ minutes — always 503.
Symptom 2 — agnes-image-2.0-flash: 500, server-side float parse error The same request with model=agnes-image-2.0-flash returns:
{"error": {"message": "could not convert string to float: ''", "type": "internal_server_error", "code": "500"}}
Exhaustively tried parameter combinations — the error is identical for all of them, so it is not a client-side parameter problem:
- bare (model + prompt + image only)
- size=1024x1024
- n=1
- response_format=b64_json
- 512px input image instead of 1500px
- JSON body with image_url data URI (rejected earlier as "image must be multipart"; same 500 when sent via multipart)
Minimal reproducible request
curl -sS -X POST "https://apihub.agnes-ai.com/v1/images/edits"
-H "Authorization: Bearer $AGNES_API_KEY"
--form "model=agnes-image-2.5-flash"
--form "prompt=a product photo of a gray fleece blanket on a white background"
--form "size=1024x1024"
--form "n=1"
--form "[email protected];type=image/jpeg"
(No key leaked; $AGNES_API_KEY is a valid key that succeeds on /v1/images/generations at the same time.)
Expected behavior /v1/images/edits completes and returns image data, as documented for the Agnes Image model family.
Actual behavior
- agnes-image-2.5-flash (and agnes-image-3.0-flash): 503 "no available server" / model_not_found "No available channel"
- agnes-image-2.0-flash: 500 "could not convert string to float: ''" regardless of parameters — looks like the upstream channel is passing an empty string into a float field.
- agnes-image-2.5-pro / 2.5-pro-alpha: model_not_found (no channel under group default)
- Note: /v1/images/generations with an "images" array for 2.5-flash returns invalid_request: "images is not supported by text image queue" — so reference-image editing has no fallback path today.
Impact All image-to-image / reference-image workflows on Agnes are currently blocked; only text-to-image works.
Suggested checks
- Channel routing for agnes-image-2.5-flash under group default (distributor) — appears to have no live upstream servers.
- 500 on 2.0-flash: an empty string reaching a float(...) cast in the channel adapter — possibly a missing required channel parameter (e.g. size/resolution defaulting to empty).
Request IDs (for your logs)
- 20261001113448253112590XEZeL97U (model_not_found, 3.0-flash)
- 20261001125835562923907WHE9ggzb (image model rejected on chat endpoint, same time window)
Is this reproducible?
Yes
Hello, for image-to-image generation, please use the POST /v1/images/generations endpoint, not /v1/images/edits. Please use an available image model ID listed in the documentation, such as agnes-image-2.5-flash. agnes-2.0-flash is a text model and is not intended for image generation. Please refer to the documentation for your site and follow its requirements for the model name, prompt, and reference image parameters:
- International site: Agnes Image 2.5 Flash Documentation
- China site: Agnes Image 2.5 Flash Documentation Please retest using the endpoint and request format described in the documentation. If the issue persists, contact us via the WeChat group or Discord community and share the sanitized request parameters, error message, and request ID so we can investigate further.
please read the offical document.
image to image used same endpoint: /v1/images/generations
You must provide the input image URL or a Data URI Base64 string in extra_body.image.
Request Example:
[Json]
{
"model": "agnes-image-2.5-flash",
"prompt": "your change prompt",
"size": "768x1024",
"extra_body": {"image": [url], "response_format": "url"}
}
[python]
img = Image.open("pink_base.png").convert("RGB")
uri = "data:image/jpeg;base64," + base64.b64encode(jpeg_bytes).decode()
payload = {
"model": "agnes-image-2.5-flash",
"prompt": "your change prompt",
"size": "768x1024",
"extra_body": {"image": [url], "response_format": "url"}
/* Must be placed within extra_body; placing it at the top level will result in a 400 error. */
}
But! However, it will still return a 503 error, indicating it has been placed in a waiting queue.
It seems to have lasted for a while.
{ "error": { "message": "image queue is full, please retry later (request id: 20261020132151698592084NCPMVVFh)", "type": "", "param": "", "code": null } }
Hello, this error occurred because the image generation queue is currently full. Please try again later or during off-peak hours. You can also enable automatic retries in your client and set an appropriate interval between attempts.
If you need a more stable and faster generation experience, you can explore our paid plans. If you’re interested in enterprise cooperation or resource arrangements, please contact us to discuss your needs.