Wedding

The 'Wedding' model recognizes over 400 concepts related to weddings including bride, groom, flowers, and more. This model is great for anyone building a wedding platform or curating wedding-related content.

GO TO DOCUMENTATION Updated Sep 22, 2016

Demo

Info

Info

MODEL NAME

Wedding

OWNER

Clarifai

MODEL ID

c386b7a870114f4a87477c0824499348

UPDATED AT

Sep 22, 2016

CONCEPTS

Bouquet, Bride, Cake, Ceremony, Flowers, Groom and more

Request

You can call the Predict API with the 'Wedding' model. Simply pass in an image input with a publicly accessible URL or by directly sending image bytes.

You can learn more about the Predict API in our API Guide.

POST
curl -X POST
    -H 'Authorization: Bearer {access_token}'
    -H "Content-Type: application/json"
    -d '
    {
      "inputs": [
        {
          "data": {
            "image": {
              "url": "https://samples.clarifai.com/wedding.jpg"
            }
          }
        }
      ]
    }'
    https://api.clarifai.com/v2/models/c386b7a870114f4a87477c0824499348/outputs

Response

The Predict API returns a list of concepts (such as bride, groom, and dress) with corresponding probability scores on the likelihood that these concepts are contained within the image.

SHOW FULL CODE
Response
{
  "status": {
    "code": 10000,
    "description": "Ok"
  },
  "outputs": [
    {
      "id": "c5c116584ddc41599d238e92a1548ec2",
      "status": {
        "code": 10000,
        "description": "Ok"
      },
      "created_at": "2016-11-22T17:30:45Z",
      "model": {
        "name": "weddings-v1.0",
        "id": "c386b7a870114f4a87477c0824499348",
        "created_at": "2016-09-22T19:14:51Z",
        "app_id": null,
        "output_info": {
          "message": "Show output_info with: GET /models/{model_id}/output_info",
          "type": "concept"
        },
        "model_version": {
          "id": "b91bcf877c464a38a25a742694da7535",
          "created_at": "2016-09-22T19:14:51Z",
          "status": {
            "code": 21100,
            "description": "Model trained successfully"
          }
        }
      },
      "input": {
        "id": "c5c116584ddc41599d238e92a1548ec2",
        "data": {
          "image": {
            "url": "https://samples.clarifai.com/wedding.jpg"
          }
        }
      },
      "data": {
        "concepts": [
          {
            "id": "ai_pQlX4jGW",
            "name": "bride",
            "app_id": null,
            "value": 0.97759324
          },
          {
            "id": "ai_bntVlGTM",
            "name": "groom",
            "app_id": null,
            "value": 0.95045173
          },
          {
            "id": "ai_sDRt7JsH",
            "name": "love",
            "app_id": null,
            "value": 0.9231192
          },
          {
            "id": "ai_xbBGjWCG",
            "name": "ceremony",
            "app_id": null,
            "value": 0.89355975
          },
          {
            "id": "ai_WlKmT1M1",
            "name": "first dance",
            "app_id": null,
            "value": 0.8835217
          },
          {
            "id": "ai_rWB9FGx4",
            "name": "dress",
            "app_id": null,
            "value": 0.85753095
          },
          {
            "id": "ai_MWJxH9bz",
            "name": "bride and groom",
            "app_id": null,
            "value": 0.8522061
          },
          {
            "id": "ai_c6NKLDW3",
            "name": "church",
            "app_id": null,
            "value": 0.84389365
          },
          {
            "id": "ai_sKkcqqBc",
            "name": "vows",
            "app_id": null,
            "value": 0.8247199
          },
          {
            "id": "ai_5GsSN3JG",
            "name": "bouquet",
            "app_id": null,
            "value": 0.816138
          },
          {
            "id": "ai_ZmZd8Xlf",
            "name": "kiss",
            "app_id": null,
            "value": 0.7881924
          },
          {
            "id": "ai_CDsHPXzf",
            "name": "wedding party",
            "app_id": null,
            "value": 0.7392974
          },
          {
            "id": "ai_pjWN3MZR",
            "name": "reception",
            "app_id": null,
            "value": 0.72879225
          },
          {
            "id": "ai_NxZcfnjM",
            "name": "romance",
            "app_id": null,
            "value": 0.67114496
          },
          {
            "id": "ai_vFFGdq2N",
            "name": "just married",
            "app_id": null,
            "value": 0.6284632
          },
          {
            "id": "ai_kkd12DHF",
            "name": "dancing",
            "app_id": null,
            "value": 0.6148083
          },
          {
            "id": "ai_3RGTbbt4",
            "name": "groomsmen",
            "app_id": null,
            "value": 0.6124114
          },
          {
            "id": "ai_7wtZ52z2",
            "name": "vera wang",
            "app_id": null,
            "value": 0.5590708
          },
          {
            "id": "ai_k6plm6lB",
            "name": "wedding dresses",
            "app_id": null,
            "value": 0.54576254
          },
          {
            "id": "ai_77Nn77GM",
            "name": "romantic",
            "app_id": null,
            "value": 0.53760517
          }
        ]
      }
    }
  ]
}
COMPONENTDESCRIPTION
modelThe model you are using to make predictions on your inputs with. Includes the id, name, created_at date, output info, and information on the model version.
inputThe image data that you passed through the model to make predictions. Includes id and the image data.
dataThe data sent back with the reponse; usually includes the detected concepts and corresponding probability values. (If the model's output type is not concepts, you'll see different output responses here.)

Info

MODEL NAME

Wedding

OWNER

Clarifai

MODEL ID

c386b7a870114f4a87477c0824499348

UPDATED AT

Sep 22, 2016

CONCEPTS

Bouquet, Bride, Cake, Ceremony, Flowers, Groom and more

Get Started for Free with Wedding Model

Start building amazing stuff — no credit card required.

Get Your Free API Key