Seedance 2.5 IS HERE · Nano Banana 2 & GPT Image 2.5 UNLIMITED UNTIL November 15Upgrade
  • Picasso IA LogoLogo Picasso IA
  • Home
  • Image
  • Video
  • Music
  • Voice
  • Chat
  • 3D
  • AI InfluencerNEW
  • AI ToolkitNEW
  • SupercomputerNEW
  • APINEW
  • MCPNEW
  • Generations
  • Billing
  • Support
  • Account
Skip to Content
  • Explore
  • Image
  • Video
  • Chat
  • Unlimited
  • Video Edit
  • Lipsync
  • Enhance
  • Music
  • Voice
  • Transcribe
  • 3D
  • Upscale
  • Remove BG
Start FreeStart Free NowNewCreateStart CreatingPricingPricing80% OFF
Crea GratisStart Freeابدأ مجانًاCrie GrátisEssai Gratuitमुफ़्त शुरूEmpieza Gratis YaStart Free Nowابدأ مجانًا الآنComece Grátis JáCommencer Gratuitementअभी मुफ़्त शुरू करेंNuevoNewجديدNovoNouveauनयाCrearCreateإنشاءCriarCréerबनाएंEmpieza a CrearStart Creatingابدأ الإنشاءComece a CriarCommencer à Créerबनाना शुरू करेंPreciosPricingالأسعارPreçosTarifsमूल्यPreciosPricingالأسعارPreçosTarifsमूल्य80% OFF
  • ExplorarExploreاستكشافExplorarExplorerएक्सप्लोर
  • Inicio RápidoQuickstartالبدء السريعInício RápidoDémarrage Rapideत्वरित शुरुआत
  • DocumentaciónDocsالوثائقDocumentaçãoDocumentationडॉक्स
  • PreciosPricingالأسعارPreçosTarifsकीमत
  • Claves de APIAPI Keysمفاتيح APIChaves de APIClés APIAPI कुंजियाँ
  • MCPMCPخادم MCPMCPMCPMCP
Documentación de la APIAPI Docsوثائق APIDocumentação da APIDocumentation APIAPI डॉक्स
Crear una predicciónCreating a predictionإنشاء تنبؤCriar uma previsãoCréer une prédictionप्रेडिक्शन बनाना
Documentación de la APIAPI Docsوثائق APIDocumentação da APIDocumentation APIAPI डॉक्स
  • IntroducciónOverviewنظرة عامةVisão GeralVue d'Ensembleओवरव्यू
  • Inicio RápidoQuickstartالبدء السريعInício RápidoDémarrage Rapideत्वरित शुरुआत
  • AutenticaciónAuthenticationالمصادقةAutenticaçãoAuthentificationप्रमाणीकरण
  • ModelosModelsالنماذجModelosModèlesमॉडल
  • PrediccionesPredictionsالتنبؤاتPrevisõesPrédictionsप्रेडिक्शन
  • Crear una predicciónCreating a predictionإنشاء تنبؤCriar uma previsãoCréer une prédictionप्रेडिक्शन बनाना
  • Listar prediccionesListing predictionsسرد التنبؤاتListar previsõesLister les prédictionsप्रेडिक्शन की सूची
  • El objeto de predicciónThe prediction objectكائن التنبؤO objeto de previsãoL’objet prédictionप्रेडिक्शन ऑब्जेक्ट
  • Sondeo y ETAPolling and ETAالاستعلام الدوري وتقدير الوقت (ETA)Consulta periódica e ETAInterrogation périodique et ETAपोलिंग और ETA
  • CancelaciónCancelingالإلغاءCancelamentoAnnulationरद्द करना
  • Errores y LímitesErrors and Limitsالأخطاء والحدودErros e LimitesErreurs et Limitesत्रुटियाँ और सीमाएँ
API de PicassoIAPicassoIA APIواجهة PicassoIA APIPicassoIA APIAPI PicassoIAPicassoIA API
PrediccionesPredictionsالتنبؤاتPrevisõesPrédictionsप्रेडिक्शन
Copiar PáginaCopy Pageنسخ الصفحةCopiar PáginaCopier la Pageपेज कॉपी करें
Una predicción es una ejecución de un modelo: la creas, la consultas y lees su salida.A prediction is one run of a model: you create it, poll it and read its output.التنبؤ هو تشغيل واحد لنموذج: تُنشئه، وتستعلم عنه دوريًا، وتقرأ مخرجاته.Uma previsão é uma execução de um modelo: você a cria, a consulta e lê a saída dela.Une prédiction est une exécution d'un modèle : vous la créez, vous l'interrogez et vous lisez sa sortie.प्रेडिक्शन किसी मॉडल का एक रन है: आप उसे बनाते हैं, पोल करते हैं और उसका आउटपुट पढ़ते हैं।

Crear una predicción

POST /v1/models/{owner}/{name}/predictions con el cuerpo { "input": { … } }.

  • La API responde en cuanto el modelo acepta el trabajo, normalmente en pocos segundos, con la predicción en el estado starting. Nunca espera al resultado.
  • Si la predicción falla de inmediato, la respuesta sigue siendo 201, con la predicción en el estado failed y su error. Esto ocurre, por ejemplo, cuando el filtro de seguridad rechaza la entrada.
  • Si no se ha creado ninguna predicción, la respuesta es un error: entrada no válida, plan insuficiente, demasiadas predicciones en curso, servicio no disponible.

Listar predicciones

GET /v1/predictions devuelve tus predicciones de la API, 50 por página, de la más reciente a la más antigua, incluidas las de todas tus API keys.

  • next es la URL de la página siguiente (…/v1/predictions?cursor=…), o null en la última página.
  • previous siempre es null.
  • Las predicciones que hayas eliminado en picassoia.com no aparecen.

Una predicción es visible desde cualquiera de tus API keys, y nunca para nadie más.

El objeto de predicción

Creating a prediction

POST /v1/models/{owner}/{name}/predictions with the body { "input": { … } }.

  • The API answers once the model has accepted the job, usually within seconds, with the prediction in the starting state. It never waits for the result.
  • If the prediction fails right away, the answer is still 201, with the prediction in the failed state and its error. This happens, for example, when the input is refused by the safety filter.
  • If no prediction was created, the answer is an error: invalid input, plan, too many predictions in progress, service unavailable.

Listing predictions

GET /v1/predictions returns your API predictions, 50 per page, newest first, across all your keys.

  • next is the URL of the next page (…/v1/predictions?cursor=…), or null on the last page.
  • previous is always null.
  • Predictions you deleted on picassoia.com are left out.

A prediction is visible through any of your keys, and never to anyone else.

The prediction object

إنشاء تنبؤ

أرسل POST /v1/models/{owner}/{name}/predictions مع جسم الطلب { "input": { … } }.

  • تستجيب الواجهة بمجرد أن يقبل النموذج المهمة، عادةً في غضون ثوانٍ، بتنبؤ في الحالة starting. ولا تنتظر النتيجة أبدًا.
  • إذا فشل التنبؤ على الفور، تظل الاستجابة 201، مع تنبؤ في الحالة failed وحقل error الخاص به. يحدث هذا مثلًا عندما يرفض مرشّح الأمان المدخلات.
  • إذا لم يُنشأ أي تنبؤ، تكون الاستجابة خطأً: مدخلات غير صالحة، أو خطة غير مؤهلة، أو كثرة التنبؤات قيد التنفيذ، أو عدم توفر الخدمة.

سرد التنبؤات

يُرجع GET /v1/predictions تنبؤات API الخاصة بك، بواقع 50 تنبؤًا في كل صفحة، الأحدث أولًا، عبر جميع مفاتيحك.

  • الحقل next هو عنوان URL للصفحة التالية (…/v1/predictions?cursor=…)، أو null في الصفحة الأخيرة.
  • الحقل previous قيمته null دائمًا.
  • لا تُدرج التنبؤات التي حذفتها على picassoia.com.

يمكن الاطلاع على التنبؤ عبر أي من مفاتيحك، ولا يراه أي شخص آخر أبدًا.

كائن التنبؤ

Criar uma previsão

POST /v1/models/{owner}/{name}/predictions com o corpo { "input": { … } }.

  • A API responde assim que o modelo aceita o trabalho, geralmente em poucos segundos, com a previsão no estado starting. Ela nunca espera pelo resultado.
  • Se a previsão falhar imediatamente, a resposta continua sendo 201, com a previsão no estado failed e o seu error. Isso acontece, por exemplo, quando a entrada é recusada pelo filtro de segurança.
  • Se nenhuma previsão tiver sido criada, a resposta é um erro: entrada inválida, plano, previsões demais em andamento, serviço indisponível.

Listar previsões

GET /v1/predictions retorna as suas previsões da API, 50 por página, das mais recentes para as mais antigas, considerando todas as suas chaves.

  • next é a URL da próxima página (…/v1/predictions?cursor=…), ou null na última página.
  • previous é sempre null.
  • As previsões que você excluiu em picassoia.com não são incluídas.

Uma previsão fica visível por meio de qualquer uma das suas chaves, e nunca para outras pessoas.

O objeto de previsão

Créer une prédiction

POST /v1/models/{owner}/{name}/predictions avec le corps { "input": { … } }.

  • L’API répond dès que le modèle a accepté la tâche, généralement en quelques secondes, avec la prédiction à l’état starting. Elle n’attend jamais le résultat.
  • Si la prédiction échoue immédiatement, la réponse reste 201, avec la prédiction à l’état failed et son error. C’est le cas, par exemple, lorsque l’entrée est refusée par le filtre de sécurité.
  • Si aucune prédiction n’a été créée, la réponse est une erreur : entrée non valide, forfait, trop de prédictions en cours, service indisponible.

Lister les prédictions

GET /v1/predictions renvoie vos prédictions effectuées via l’API, 50 par page, de la plus récente à la plus ancienne, toutes clés confondues.

  • next est l’URL de la page suivante (…/v1/predictions?cursor=…), ou null sur la dernière page.
  • previous vaut toujours null.
  • Les prédictions que vous avez supprimées sur picassoia.com sont exclues.

Une prédiction est accessible avec n’importe laquelle de vos clés, et n’est jamais visible par quelqu’un d’autre.

L’objet prédiction

प्रेडिक्शन बनाना

POST /v1/models/{owner}/{name}/predictions, बॉडी { "input": { … } } के साथ।

  • मॉडल के जॉब स्वीकार करते ही API जवाब देता है, आमतौर पर कुछ ही सेकंड में, और उस समय प्रेडिक्शन starting स्टेट में होता है। API कभी भी नतीजे का इंतज़ार नहीं करता।
  • अगर प्रेडिक्शन तुरंत फ़ेल हो जाता है, तब भी जवाब 201 ही होता है, जिसमें प्रेडिक्शन failed स्टेट में और अपने error के साथ होता है। उदाहरण के लिए, ऐसा तब होता है जब सेफ़्टी फ़िल्टर इनपुट को अस्वीकार कर देता है।
  • अगर कोई प्रेडिक्शन नहीं बना, तो जवाब एक त्रुटि होता है: अमान्य इनपुट, ज़रूरी प्लान न होना, एक साथ प्रगति में बहुत ज़्यादा प्रेडिक्शन, सेवा उपलब्ध न होना।

प्रेडिक्शन की सूची

GET /v1/predictions आपकी सभी keys से बने API प्रेडिक्शन लौटाता है, हर पेज पर 50, सबसे नए पहले।

  • next अगले पेज का URL (…/v1/predictions?cursor=…) होता है, या आख़िरी पेज पर null।
  • previous हमेशा null होता है।
  • picassoia.com पर आपके डिलीट किए गए प्रेडिक्शन इसमें शामिल नहीं होते।

कोई भी प्रेडिक्शन आपकी किसी भी key से देखा जा सकता है, लेकिन किसी और को वह कभी नहीं दिखता।

प्रेडिक्शन ऑब्जेक्ट

  • Home
  • Toolkit
  • Library
  • Account
Start FreeStart Free NowNewCreateStart CreatingPricingPricing80% OFF
  • Explore
  • Quickstart
  • Docs
  • Pricing
  • API Keys
  • MCP

API Docs

  • Overview
  • Quickstart
  • Authentication
  • Models
  • Predictions
  • Creating a prediction
  • Listing predictions
  • The prediction object
  • Polling and ETA
  • Canceling
  • Errors and Limits

PicassoIA API

Predictions

A prediction is one run of a model: you create it, poll it and read its output.

Creating a prediction

POST /v1/models/{owner}/{name}/predictions with the body { "input": { … } }.

  • The API answers once the model has accepted the job, usually within seconds, with the prediction in the starting state. It never waits for the result.
  • If the prediction fails right away, the answer is still 201, with the prediction in the failed state and its error. This happens, for example, when the input is refused by the safety filter.
  • If no prediction was created, the answer is an error: invalid input, plan, too many predictions in progress, service unavailable.

Listing predictions

GET /v1/predictions returns your API predictions, 50 per page, newest first, across all your keys.

  • next is the URL of the next page (…/v1/predictions?cursor=…), or null on the last page.
  • previous is always null.
  • Predictions you deleted on picassoia.com are left out.

A prediction is visible through any of your keys, and never to anyone else.

The prediction object

FieldTypeNotes
idstringapi_ followed by 32 hex characters.
modelstringThe model it runs.
inputobjectYour input, with the defaults applied. Image fields point to PicassoIA's copy.
statusstringstarting, processing, succeeded, failed or canceled.
outputlist of URLs, one URL, or nullSet once it succeeded; its shape is the model's output_schema.
errorstring or nullWhy it failed.
created_atISO 8601 or null
started_atISO 8601 or nullUsually null: see status below.
completed_atISO 8601 or nullWhen it finished.
metrics.predict_timenumber or nullSeconds of generation, once it succeeded.
urls.get, urls.cancelURLsWhere to poll it and cancel it.
etaobject or nullWhile it runs: seconds, the estimated seconds left, and next_poll_in_seconds, when to ask again. null once it has finished.

Statuses.

StatusMeaning
startingAccepted and waiting in the queue.
processingGenerating.
succeededFinished. output has the result.
failedFinished without a result. error says why.
canceledCanceled before it finished.

starting versus processing is an estimate, made from the queue position at creation. A new prediction is always starting. The last three statuses are final: a prediction in one of them never changes again.

Errors of a failed prediction. The error of a failed prediction is one of these messages:

  • The input or the output was refused by the safety filter. The message ends in (SAFETY_CHECKER_PICASSO_FILTER_S4).
  • The prediction failed. You can try again.
  • The prediction timed out. You can try again. Nothing finished it within 3 hours.

Outputs. Output URLs are hosted by PicassoIA. Download the files you want to keep.

Polling and ETA

eta.next_poll_in_seconds tells you when the next poll is worth making:

  1. At half the estimated time.
  2. When the estimate is reached.
  3. Then every 2 seconds.

Example with an estimate of 10 s: poll after 5 s, then after 10 s, then every 2 s. Polling faster gets you nothing sooner.

Canceling

POST /v1/predictions/{id}/cancel:

The prediction is…What happens
an image, queued or generatingCanceled. Answers 200 with status: "canceled".
a video, still queuedCanceled. Answers 200 with status: "canceled".
a video, already generatingNot cancelable: 409 not_cancelable. Poll it for its result.
already finishedAnswers 200 with the prediction as it is.

A canceled prediction frees its place in your 5 predictions in progress at once.

PreviousModelsNextErrors and Limits