def METHOD_NAME(channels):
    gatewaywrapper.loginAsAuthor()
    gw = gatewaywrapper.gateway
    update_service = gw.getUpdateService()
    pixels = itest.create_pixels(client=gw.c)
    for channel in channels:
        pixels.addChannel(channel)
    pixels = update_service.saveAndReturnObject(pixels)
    return gw.getObject('Image', pixels.image.id)