zlacker

[return to "Google Imagen 2"]
1. simonw+Q7[view] [source] 2023-12-13 15:36:07
>>geox+(OP)
This post has more information: https://cloud.google.com/blog/products/ai-machine-learning/i...

I can't figure out how to try this thing. The closest I got was this sentence:

"To get started with Imagen 2 on Vertex AI, find our documentation or reach out to your Google Cloud account representative to join the Trusted Tester Program."

◧◩
2. gpm+rw[view] [source] 2023-12-13 17:10:29
>>simonw+Q7
I think the process is

1. Go to console.cloud.google.com

2. Go to model garden

3. Search imagegeneration

4. End up at https://console.cloud.google.com/vertex-ai/publishers/google...

And for whatever reason that is where the documentation is.

Sample request

    curl -X POST \
        -H "Authorization: Bearer $(gcloud auth print-access-token)" \
        -H "Content-Type: application/json; charset=utf-8" \
        -d @request.json \
        "https://us-central1-aiplatform.googleapis.com/v1/projects/PROJECT_ID/locations/us-central1/publishers/google/models/imagegeneration@002:predict"
Sample request.json

    {
      "instances": [
        {
          "prompt": "TEXT_PROMPT"
        }
      ],
      "parameters": {
        "sampleCount": IMAGE_COUNT
      }
    }
Sample response

    {
      "predictions": [
        {
          "bytesBase64Encoded": "BASE64_IMG_BYTES",
          "mimeType": "image/png"
        },
        {
          "mimeType": "image/png",
          "bytesBase64Encoded": "BASE64_IMG_BYTES"
        }
      ],
      "deployedModelId": "DEPLOYED_MODEL_ID",
      "model": "projects/PROJECT_ID/locations/us-central1/models/MODEL_ID",
      "modelDisplayName": "MODEL_DISPLAYNAME",
      "modelVersionId": "1"
    }
Disclaimer: Haven't actually tried sending a request...
◧◩◪
3. 6gvONx+6A1[view] [source] 2023-12-13 21:37:33
>>gpm+rw
Once I finally got mostly set up for that, with billing and everything, it said it's only available for a limited number of customers, with a "request access" link to a google form with further links (to enable https://aiplatform.googleapis.com/) which 404.

What a shitshow.

◧◩◪◨
4. behnam+0D1[view] [source] 2023-12-13 21:53:03
>>6gvONx+6A1
Google seems to be desperately trying to show that they’re still relevant in AI, but they always end up with half-assed demos and presentations of products that don’t exist yet.
◧◩◪◨⬒
5. KennyB+cK1[view] [source] 2023-12-13 22:30:53
>>behnam+0D1
Isn't "half assed" a fairly accurate description of basically every google product since gmail and Android (and arguably that's been a rolling dumpster fire)

Even calendaring was something that took ages for them to get right. For something like a decade you couldn't move an event from one calendar to another on Android - only via the destop web view.

Google went from being an innovative company to a web version of IBM...a giant lumbering dinosaur that can't get out of its own way, and everyone kinda needs but also deeply loathes

[go to top]