Anime to Real API-Referenz
Macht aus einer Anime-Figur ein lebensechtes Foto
Mit einem einzigen PopNow-API-Schlüssel rufst du Anime to Real aus deinem eigenen Code auf. Hier findest du die Modell-IDs, jedes Eingabefeld, die Kosten pro Anfrage in USD und eine Anfrage, die du direkt ins Terminal kopieren kannst.
Die Parameterbeschreibungen stammen aus dem Eingabeschema des Modells und sind nur auf Englisch verfügbar.
Auf einen Blick
- Hersteller
- PopNow
- Ergebnis
- Bild
- Ab
- $0.03 USD pro Bild
- Typische Dauer
- etwa 14 s
- Modell-IDs
Die Preise werden in USD angezeigt und von deinem PopNow-Guthaben abgebucht. Bei Annahme wird der Höchstbetrag reserviert, nach Abschluss der tatsächliche Verbrauch abgerechnet und der Rest freigegeben. Fehlgeschlagene Tasks kosten nichts. Ein genaues Angebot erhältst du vorab über POST /api/v1/jobs/quote.
Anime realistisch gestalten
popnow/anime-to-real-v1/edit
Preis
| Option | USD |
|---|---|
Standard | $0.03 pro Bild |
Parameter
| Feld | Typ | Standardwert | Erlaubt | Bedeutung |
|---|---|---|---|---|
image_urlPflicht | string | — | — | The photo to process: JPEG, PNG or WebP, up to 10 MB. |
promptOptional | string | — | bis zu 5.000 Zeichen | Optional full photoreal conversion prompt sent verbatim (include "change the picture 1 to realistic photograph" when writing your own). Leave empty to use the default Anything2Real instruction. |
aspect_ratioOptional | string | — | 1:1, 16:9, 9:16, 4:3, 3:4, 3:2, 2:3, 21:9, 9:21 | Optional output aspect ratio. Leave it empty to keep the shape of the photo. |
output_formatOptional | string | jpeg | jpeg, png, webp | File format of the returned image. |
seedOptional | integer | — | 0 bis 2147483647 | Random seed for controlled comparisons. |
Beispielanfrage
Diese Anfrage läuft so, wie sie ist; weggelassene Felder behalten ihren Standardwert. Leg deinen Schlüssel vorher in POPNOW_API_KEY ab.
Das Beispiel nutzt in image_url Beispieldateien von PopNow. Ersetze sie durch eigene öffentliche HTTPS-Links, Uploads oder gespeicherte Assets.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask?wait=60" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "popnow/anime-to-real-v1/edit",
"input": {
"prompt": "change the picture 1 to realistic photograph, natural skin texture, soft daylight, keep the same character, hair, outfit and background",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp"
}
}'Die Antwort enthält sofort eine taskId. Das Ergebnis holst du mit GET /api/v1/jobs/recordInfo ab – oder du gibst callBackUrl mit und wirst benachrichtigt.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
